set parameters read from outside a compiled simulink model at startup/initialization
显示 更早的评论
Hi,
I have a Simulink Model I wish to compile into an executable which works fine except that I need to be able to set some parameters/variables at the start of the program or in the initialization phase.
So far, I have no hand-written code (.c or .h) files where I could add some lines.
What do I have to do and where would I place the code?
As of now, I've been using the following line to compile the simulink model:
mcc('-N','-p','icomm', '-m','Reglerexe','-a',['*',ext],'-a',['*',ext_thunk{:}], '-d', myDir)
Thanks in advance for your help!
Swantje
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!