diff --git a/matlab/R2019B/accelerometer_3d.slx b/matlab/R2019B/accelerometer_3d.slx new file mode 100644 index 0000000..8309e74 Binary files /dev/null and b/matlab/R2019B/accelerometer_3d.slx differ diff --git a/matlab/R2019B/accelerometer_3d_perfect.slx b/matlab/R2019B/accelerometer_3d_perfect.slx new file mode 100644 index 0000000..d805f74 Binary files /dev/null and b/matlab/R2019B/accelerometer_3d_perfect.slx differ diff --git a/matlab/vibration_table_r2019b.slx b/matlab/R2019B/vibration_table.slx similarity index 71% rename from matlab/vibration_table_r2019b.slx rename to matlab/R2019B/vibration_table.slx index 7312024..a07dff9 100644 Binary files a/matlab/vibration_table_r2019b.slx and b/matlab/R2019B/vibration_table.slx differ diff --git a/matlab/vibration_table_r2018a.slx b/matlab/vibration_table_r2018a.slx deleted file mode 100644 index 07b2c8e..0000000 Binary files a/matlab/vibration_table_r2018a.slx and /dev/null differ diff --git a/vibration-table.org b/vibration-table.org index cc049b2..640884e 100644 --- a/vibration-table.org +++ b/vibration-table.org @@ -418,8 +418,13 @@ run('meas_transformation.m') #+end_src #+begin_src matlab :tangle no :eval no -save_system('vibration_table', 'matlab/vibration_table_r2018a.slx', 'ExportToVersion', 'R2018A'); -save_system('vibration_table', 'matlab/vibration_table_r2019b.slx', 'ExportToVersion', 'R2019B'); +%% Used to export to another version +sim_versions = {'R2019B'} +for sim_version = sim_versions + save_system('vibration_table', ['matlab/' sim_version{1} '/vibration_table.slx'], 'ExportToVersion', sim_version{1}); + save_system('accelerometer_3d', ['matlab/' sim_version{1} '/accelerometer_3d.slx'], 'ExportToVersion', sim_version{1}); + save_system('accelerometer_3d_perfect', ['matlab/' sim_version{1} '/accelerometer_3d_perfect.slx'], 'ExportToVersion', sim_version{1}); +end #+end_src #+begin_src matlab