nass-simscape/src/project_startup.m
Thomas Dehaeze 1125a9b1ea [major-change] start to change the axis of all stages to match id31
The idea is have the world frame the same as the one defined for id31.
Also all the actuators should actuate in the positive direction of the axes
2019-12-13 09:31:19 +01:00

19 lines
518 B
Matlab

% 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');