MATLAB Answers

S-Function Backward Compatibility

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

로그인 to comment.

태그

제품

답변 수: 1

Fangjun Jiang 님의 답변 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

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.

로그인 to comment.



Translated by