MATLAB Answers

S-Function Backward Compatibility

5 views (last 30 days)
Can an S-function compiled in 2018a be used in a model in 2013b?
Please cite the documentation if you know the keywords to find the answer to this question.

  0 Comments

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 4 Jun 2018
I doubt it. Even if it can be used, you might get constant warning messages.
The document says that all example S-function MEX files included in the previous 10 releases can be used in the new version of MATLAB. It is the opposite as what you want.
The best way is to try it out. You don't even need to write your own. Just use one of the examples.
The key-word to search is "S-Function Compatibility" S-Function Compatibility

  1 Comment

Jason Nicholson
Jason Nicholson on 4 Jun 2018
You are right. The link you provided was one link away from stating exactly what I was looking for:
Sometimes a MEX file created on a newer version of MATLAB runs on
an older version of MATLAB, but this is not supported.

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

Products