Import Data From File To run a simulink standalone aplication!
Ältere Kommentare anzeigen
I have a a standalone apllication that changes the parameters of a simulink and then make it run! I wnat to use this all process without matlab.
I know to that set_parameter doesn´t work is this way, so i trying other solution to do that.
I trying that my simulink project load the block parameters from a File.mat.
I know that executable simulink work well if the data is load by the block from file, is possible with this block changes the parametrs of others parametrs blocks, such as constants, numerator and denominador??
others words, can i change block parameters wihtout matlab? withous set_parame() function?
Antworten (1)
Kaustubha Govind
am 5 Mär. 2013
0 Stimmen
You may find the Parameters section in the Simulink Coder documentation useful. Essentially, you can represent tunable parameters in your model using Simulink.Parameter objects and have them be defined in "wrapper" code that can read the parameters values from a file and pass them on to the generated code.
Kategorien
Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!