scripting - Programmatically find the "Saved in Simulink version" for a .sldd object in MatlabSimulink - Stack

I am now creating a MATLAB script to read the release versions in which a sldd object is created in Sim

I am now creating a MATLAB script to read the release versions in which a sldd object is created in Simulink/MATLAB.

For example, An SLX file activeSuspension.slx's matlab version it has been saved in can be retrieved using Simulink.MDLInfo object and it's property 'ReleaseName'.

mdlInfo= Simulink.MDLInfo('activeSuspension');
matlabVersion=mdlInfo.ReleaseName;

From documentation .mdlinfo.html I am aware that MDLInfo is only limited to .slx,.slxp and .mdl files.

Now coming to my query, I would like to know if there is any direct API command like MDLInfo or a resuable script available to get the matlab version created for a .sldd file.

Since the metadata is visible in MATLAB UI for a .sldd file I believe there is a solid possibility to have an API command from which the "Saved in Simulink " version can be found, but I am unlucky so far to find one from documentation. Thanks in advance

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745307853a4621824.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信