how to add singal and its attributes( data type, min, max values to data dictionary programatically?
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Results, Reporting, and Test File Management finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!