how to add singal and its attributes( data type, min, max values to data dictionary programatically?
显示 更早的评论
Hello Team,
I have a model with all ojects like IO ports, constants, DSM having their attributes assigned. i.e eachof them have been assigned their dataatype initial value ( if any) min max values, names of each signal/ paramters/DSM is alreayd present in model.
what I need to do is read these all attributes from model and write in sldd. I want to create .m file from this sldd later.
I checked the help , but I could find only 'add Entry' command which allows me to add signal name and its value , parameter name and its type as Simulink. Parameter... but I am not finding anyway to add other attributes to these model objects as mentioned above e.g. my signal is say 'test' i am able to add its name and alue '3 ' throgugh command , but i am not able to add datatype, min max value , same is for parameter, I am abel to add it as a parameter in DD but I am not able to add its datataype, min max values, in DD through script or command prompt.
can someone please suggest me is there any way to do this?
BR
Sameer
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Results, Reporting, and Test File Management 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!