Import Data From File To run a simulink standalone aplication!
14 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Kaustubha Govind
on 5 Mar 2013
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.
0 Comments
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!