From 23d157c7188b1c634a515e7c9e2e5cc4ba2b1a7e Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Mon, 19 Apr 2021 12:20:35 +0200 Subject: [PATCH] Correct typo --- matlab/simscape_model.m | 4 ++-- vibration-table.org | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/matlab/simscape_model.m b/matlab/simscape_model.m index 9eb54df..91aa3b1 100644 --- a/matlab/simscape_model.m +++ b/matlab/simscape_model.m @@ -8,7 +8,7 @@ s = zpk('s'); run('meas_transformation.m') % Open the Simulink File -open('vibration_table.slx') +open('vibration_table') % 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); diff --git a/vibration-table.org b/vibration-table.org index c5ace3d..cb5cb5d 100644 --- a/vibration-table.org +++ b/vibration-table.org @@ -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);