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条)