diff --git a/.SimulinkProject/Root.type.Files/simulink.type.File/stewart_strut.slx.type.File.xml b/.SimulinkProject/Root.type.Files/simscape_subsystems.type.File/stewart_strut.slx.type.File.xml similarity index 100% rename from .SimulinkProject/Root.type.Files/simulink.type.File/stewart_strut.slx.type.File.xml rename to .SimulinkProject/Root.type.Files/simscape_subsystems.type.File/stewart_strut.slx.type.File.xml diff --git a/simulink/stewart_strut.slx b/simscape_subsystems/stewart_strut.slx similarity index 100% rename from simulink/stewart_strut.slx rename to simscape_subsystems/stewart_strut.slx diff --git a/simulink-project.html b/simulink-project.html new file mode 100644 index 0000000..9f9bbb1 --- /dev/null +++ b/simulink-project.html @@ -0,0 +1,329 @@ + + + + + + + + + +Simulink Project for the Stewart Simscape folder + + + + + + + + + + + + + +
+ UP + | + HOME +
+

Simulink Project for the Stewart Simscape folder

+ +

+Simulink Project is used for the study of the NASS using Simscape. +

+ +

+From the Simulink project mathworks page: +

+
+

+SimulinkĀ® and Simulink Projects provide a collaborative, scalable environment that enables teams to manage their files and data in one place. +

+ +

+With Simulink Projects, you can: +

+ +
+ +

+The project can be opened using the simulinkproject function: +

+ +
+
simulinkproject('./');
+
+
+ +

+When the project opens, a startup script is ran. +The startup script is defined below and is exported to the project_startup.m script. +

+
+
project = simulinkproject;
+projectRoot = project.RootFolder;
+
+myCacheFolder = fullfile(projectRoot, '.SimulinkCache');
+myCodeFolder = fullfile(projectRoot, '.SimulinkCode');
+
+Simulink.fileGenControl('set',...
+    'CacheFolder', myCacheFolder,...
+    'CodeGenFolder', myCodeFolder,...
+    'createDir', true);
+
+%% Load the Simscape Configuration
+load('mat/conf_simscape.mat');
+
+
+ +

+When the project closes, it runs the project_shutdown.m script defined below. +

+
+
Simulink.fileGenControl('reset');
+
+
+ +

+The project also permits to automatically add defined folder to the path when the project is opened. +

+
+
+

Author: Dehaeze Thomas

+

Created: 2020-01-22 mer. 15:43

+
+ + diff --git a/simulink/stewart_active_damping.slx b/simulink/stewart_active_damping.slx index 43c621d..49f1b3f 100644 Binary files a/simulink/stewart_active_damping.slx and b/simulink/stewart_active_damping.slx differ diff --git a/simulink/stewart_platform_control.slx b/simulink/stewart_platform_control.slx index aa38e58..8e4a55b 100644 Binary files a/simulink/stewart_platform_control.slx and b/simulink/stewart_platform_control.slx differ diff --git a/simulink/stewart_platform_dynamics.slx b/simulink/stewart_platform_dynamics.slx index b072dde..c2cdc88 100644 Binary files a/simulink/stewart_platform_dynamics.slx and b/simulink/stewart_platform_dynamics.slx differ