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
+5-22Lines changed: 5 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,7 @@ This repository provides a Simulink® C-MEX S-Function block interface to the
4
4
5
5
[](https://www.mathworks.com/matlabcentral/fileexchange/128028-mujoco-simulink-blockset)
- Download the latest source zip of this repository and store it in some location (preferably not in Downloads)
33
-
- Open MATLAB R2022b or higher and open the repo folder.
34
-
- Run the setup function packaged in the toolbox. MuJoCo (and GLFW for Windows users) library is automatically downloaded and added to MATLAB path.
35
-
36
-
`>>install`
37
-
- (Linux users) The default pathdef.m is likely not saveable in Linux. Save pathdef.m to new location as given in this [MATLAB answer](https://www.mathworks.com/matlabcentral/answers/1653435-how-to-use-savepath-for-adding-path-to-pathdef-m-in-linux).
38
-
`savepath ~/Documents/MATLAB/pathdef.m`
39
-
- Now follow the build instructions provided below. The prebuilt binaries are no longer shipped.
40
-
41
22
## Build Instructions (mandatory)
42
23
43
24
Steps for building/rebuilding the C-MEX S-Function code. These instructions are only required if you are cloning the repository instead of downloading the release.
@@ -47,7 +28,7 @@ Steps for building/rebuilding the C-MEX S-Function code. These instructions are
47
28
- Install one of the following C++ Compiler
48
29
- Microsoft® Visual Studio® 2022 or higher (recommended)
49
30
- (or) [MinGW (GCC 12.2.0 or higher)](https://community.chocolatey.org/packages/mingw)
50
-
- Clone this repository
31
+
- Clone this repository or download the source zip (preferably not in Downloads folder)
- Launch MATLAB and open the repository folder. Run the install.m script.
70
51
-`>> install`
52
+
- The default pathdef.m is likely not saveable in Linux. Save pathdef.m to new location as given in this [MATLAB answer](https://www.mathworks.com/matlabcentral/answers/1653435-how-to-use-savepath-for-adding-path-to-pathdef-m-in-linux).
53
+
`savepath ~/Documents/MATLAB/pathdef.m`
71
54
- Open tools/ and run the following commands in MATLAB command Windows
0 commit comments