Correct typo

This commit is contained in:
Thomas Dehaeze 2021-04-19 12:20:35 +02:00
parent 029b712260
commit 23d157c718
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ s = zpk('s');
run('meas_transformation.m')
% Open the Simulink File
open('vibration_table.slx')
open('vibration_table')
% Springs
% <<sec:simscape_springs>>
@ -219,7 +219,7 @@ mdl = 'vibration_table';
clear io; io_i = 1;
io(io_i) = linio([mdl, '/F'], 1, 'openinput'); io_i = io_i + 1;
io(io_i) = linio([mdl, '/acc'], 1, 'openoutput'); io_i = io_i + 1;
io(io_i) = linio([mdl, '/Absolute_Accelerometer'], 1, 'openoutput'); io_i = io_i + 1;
io(io_i) = linio([mdl, '/acc_O'], 1, 'openoutput'); io_i = io_i + 1;
%% Run the linearization
G = linearize(mdl, io, 0.0, options);

View File

@ -419,7 +419,7 @@ run('meas_transformation.m')
#+begin_src matlab
% Open the Simulink File
open('vibration_table.slx')
open('vibration_table')
#+end_src
** Simscape Sub-systems
@ -675,7 +675,7 @@ mdl = 'vibration_table';
clear io; io_i = 1;
io(io_i) = linio([mdl, '/F'], 1, 'openinput'); io_i = io_i + 1;
io(io_i) = linio([mdl, '/acc'], 1, 'openoutput'); io_i = io_i + 1;
io(io_i) = linio([mdl, '/Absolute_Accelerometer'], 1, 'openoutput'); io_i = io_i + 1;
io(io_i) = linio([mdl, '/acc_O'], 1, 'openoutput'); io_i = io_i + 1;
%% Run the linearization
G = linearize(mdl, io, 0.0, options);