robotology / blockfactory

A tiny framework to wrap algorithms for dataflow programming
https://robotology.github.io/blockfactory
GNU Lesser General Public License v2.1
40 stars 16 forks source link

Simulink version required to open the ExampleToolbox #11

Open traversaro opened 5 years ago

traversaro commented 5 years ago

The ExampleToolbox.slx if I am not wrong is compiled/requires to be loaded at least Simulink 2018a. If this is the case, it would be nice to document this, and eventually if possible commit to the repo a version compatible with an older Simulink, if we want to support it.

DanielePucci commented 5 years ago

If I remember correctly, @gabrielenava did a nice script that automatically generates older versions of Simulink. Probably, worth to check

gabrielenava commented 5 years ago

here it is: https://github.com/robotology/whole-body-controllers/blob/master/config/export_WBC.m

It looks for all the .mdl file in a specified folder and export all of them to the user-selected Simulink version. Not export .slx (but can be easily extended).

traversaro commented 5 years ago

A related point is: which versions of Simulink we want/need to support in all our Simulink "stack" (i.e. blockfactory/wb-toolbox/whole-body-controllers) ?

traversaro commented 5 years ago

Slightly related old issue: https://github.com/robotology/wb-toolbox/issues/1#issue-119537089 .

diegoferigo commented 5 years ago

robotology/wb-toolbox uses this export_library.m script to export libraries to previous matlab versions. Outlining our support strategy for Matlab / Simulink / Simulink Coder is still a TODO task.

gabrielenava commented 5 years ago

A related point is: which versions of Simulink we want/need to support in all our Simulink "stack" (i.e. blockfactory/wb-toolbox/whole-body-controllers) ?

concerning whole-body-controllers in the previous release there was a legacy folder containing the copy of all models in the repo exported in the Matlab version 2014a, that if I remember correctly back to wb-toolbox v3.0 it was the lowest version supported by wb-toolbox. I removed the folder as it has been never used, and now the default version of the controllers is Matlab 2017b as I am not sure if all the users in the lab have Matlab 2018a.