rtw grt-target, Parameters
8 views (last 30 days)
Show older comments
Hello, i have a question concerning the Parameters of a model that has been built to an executable by RTW using the grt-target. How can these Parameters be changed after the model has been built ? Or is it impossible to do this ? I would be very thankfull for any answer.
Greetings, uli
0 Comments
Accepted Answer
Desiree
on 11 Aug 2011
With the GRT (grt.tlc) generated executable it is not possible to control parameters in the model. You can use "From File" and "To File" blocks for input and output signals, but parameters cannot be controlled over this.
One option is to use the Rapid Simulation Target (rsim.tlc) which offers an interface for the generated executable:
However please note that you should not use RSim generated executables in a completely standalone way as there are dependencies to libraries from the MATLAB/Simulink installation.
To generate applications which can really be used in a standalone way you could use Embedded Coder to generate a DLL from your model (ert_shrlib.tlc). You can use this in an external IDE (from a C program f.ex.) but also from MATLAB:
More Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!