You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-22Lines changed: 13 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,31 +25,20 @@ MATLAB R2022b or newer is recommended. Install MATLAB with the above products an
25
25
*Note - You may need to rebuild the S-Function if you are using an older release of MATLAB*.
26
26
27
27
### Simulink Blockset for MuJoCo
28
-
29
-
#### Windows®:
30
-
31
-
- Download the [latest release for Windows](https://github.com/mathworks-robotics/mujoco-simulink-blockset/releases/latest) (Release_win64***.zip)
32
-
- Open MATLAB R2022b. In case you are using an older MATLAB release, please follow the build instructions below to rebuild for a particular MATLAB release
33
-
- Run the install.m in the MATLAB command window. MuJoCo and GLFW libraries will be downloaded and added to MATLAB Path.
34
-
35
-
#### Ubuntu®:
36
-
37
-
Ubuntu prebuilt release artifacts will be added later. Goto 'Build Instructions' below to build from the source code.
38
-
<!---
39
-
- Download the latest release of this repository (will be added soon. Goto build instructions for the time being)
40
-
- Download and install GLFW library from Ubuntu terminal
41
-
28
+
29
+
- (Linux users) Install GLFW library from Ubuntu terminal
- Open MATLAB R2022b. In case you are using a older MATLAB release, please follow the build instructions below to rebuild for a particular MATLAB release
44
-
- Run install.m in MATLAB command window. MuJoCo library will be downloaded and added to MATLAB Path.
45
-
46
-
--->
47
-
48
-
#### Note:
49
-
*The 'Download' button from File Exchange only downloads the source code. If you use the download button, ensure that you run the 'Build Instructions' before continuing.*
32
+
- Download the latest release of this repository (MATLAB Toolbox - MLTBX file)
33
+
- Open MATLAB R2022b or higher and install the downloaded MATLAB Toolbox file
34
+
- Run the setup function packaged in the toolbox. MuJoCo (and GLFW for Windows users) library is downloaded and added to MATLAB path.
35
+
36
+
`>>mujoco_interface_setup`
50
37
51
38
## Usage
52
-
Open examples/gettingStarted.slx model and click run
39
+
`>>mj_gettingStarted`
40
+
41
+
Open the example model and run it in normal simulation mode.
53
42
54
43
If the installation is successful, you should see a pendulum model running in a separate window and camera streams displayed by Video Viewer blocks (Computer Vision Toolbox).
55
44
@@ -84,6 +73,8 @@ Steps for building/rebuilding the C-MEX S-Function code. These instructions are
84
73
- Microsoft® Visual Studio® 2022 or higher (recommended)
85
74
- (or) [MinGW (GCC 12.2.0 or higher)](https://community.chocolatey.org/packages/mingw)
0 commit comments