Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUESTION: what is the minimum MATLAB/Simulink version WBToolbox should support in the DIC organization? #210

Open
nunoguedelha opened this issue May 18, 2021 · 4 comments

Comments

@nunoguedelha
Copy link
Collaborator

What is the minimum MATLAB/Simulink version WBToolbox should support in the DIC organization?

Actually I asked a more general question in Teams General, about the supported MATLAB version w.r.t. all the lab tools.

Ping @traversaro @diegoferigo

@traversaro
Copy link
Member

As a general line, I think that supporting more and less at least the last four version of MATLAB (so two years of releases) could make sense, to balance the maintenance effort with the possibility of dissemination (not everyone outside the lab may have the latest MATLAB version). However, this is entirely in theory as we don't actively test with older MATLAB versions and we do not have any MATLAB-based CI. For this reason, I think we can just evaluate on a case-by-case when incompatibilities arise (or when someone wants to use a feature only available in recent MATLAB versions) what to do.

@diegoferigo
Copy link
Member

In the past, we made an internal poll to check what was the oldest MATLAB installation, and took into account few downstream users outside IIT. Now, maybe we can define an official policy like what suggested by @traversaro, clearly document it, and start enforcing it in our exported slx that is the library that is publicly distributed.

@traversaro
Copy link
Member

traversaro commented May 30, 2021

Given that now MATLAB is available in GitHub Actions, I would try to add at least a smoke test for a block in the library, and then consider supported only the version that we can test in CI. From https://github.com/matlab-actions/overview#set-up-matlab, it seems that we can only test MATLAB >= 2020a, so unless there are specific requirements, I think we can consider supporting only MATLAB >= 2020a, and remove support for it if CI support is removed, or if in the future we need any feature that is not available in the 2020a. As shown in #219, trying to use really old versions to save the models can introduce really subtle bugs.

@diegoferigo
Copy link
Member

Totally agree to support >= 2020a. New decade-proof :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants