Technical Support

{{ post.title }} 글 편집 Author {{ post.author.name }} Posted on

Version {{ post.target_version }} Product
{{ product.name }}
Tutorial/Manual {{ post.manual_title }} Attached File {{ post.file.upload_filename }}

You sometimes see the below error when you execute rdlib or makerd in Matlab.

  Undefined function or variable ‘last_Matlab_version_str’.

Error rdlib (line 48)
Sys=[sys,last_Matlab_version_str,’_’,last_minor_version_str];

Simulink-RecurDyn-Co-Simulation

The main reason of this error is ‘interface version’.

To co-simulate with the latest version of Matlab, the newer interface version must be used.

You can find the compatibility between RecurDyn and Matlab from the link below .

https://support.functionbay.com/co-simulation-between-recurdyn-and-simulink/

 

For example, if you use Matlab 2017b, you must use interface version as 3.0.

It means, you must set the interface version to 3.0 first.

Then you export PlantIO.m file and use makerd or rdlib in Matlab to create a RecurDyn block.

Simulink-RecurDyn-Co-Simulation-interface-version