Skip to content

Commit 3430624

Browse files
authored
Update README.md
1 parent 11544d7 commit 3430624

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

README.md

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,20 @@ MATLAB R2022b or newer is recommended. Install MATLAB with the above products an
2525
*Note - You may need to rebuild the S-Function if you are using an older release of MATLAB*.
2626

2727
### 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
30+
4231
`sudo apt update && sudo apt install libglfw3 libglfw3-dev`
43-
- 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`
5037

5138
## 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.
5342

5443
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).
5544

@@ -84,6 +73,8 @@ Steps for building/rebuilding the C-MEX S-Function code. These instructions are
8473
- Microsoft&reg; Visual Studio&reg; 2022 or higher (recommended)
8574
- (or) [MinGW (GCC 12.2.0 or higher)](https://community.chocolatey.org/packages/mingw)
8675
- Clone this repository
76+
77+
`$ git clone git@github.com:mathworks-robotics/mujoco-simulink-blockset.git`
8778
- Launch MATLAB and open the repository folder
8879
- `>> install`
8980
- Open tools/

0 commit comments

Comments
 (0)