nass-simscape/init_simulation.m

21 lines
582 B
Mathematica
Raw Normal View History

%% Script that is run just before
% the simulation is started
% Load all the data used for the simulation
load('./mat/sim_conf.mat', 'sim_conf');
2018-06-16 22:57:54 +02:00
%% Load SolidWorks Data
% load('./mat/smiData.mat', 'smiData');
%% Load more data
load('./mat/simscape_data.mat');
2018-06-16 22:57:54 +02:00
%% Load data of each stage
load('./mat/stages.mat', 'ground', 'granite', 'ty', 'ry', 'rz', 'micro_hexapod', 'axisc', 'nano_hexapod', 'mirror', 'sample');
2018-06-16 22:57:54 +02:00
%% Load Signals Applied to the system
load('./mat/inputs.mat', 'inputs');
%% Load Controller
load('./mat/controller.mat', 'K');
load('./mat/K_iff.mat', 'K_iff');