Simulink model as standalone application.
Simulink model as standalone application.
(OP)
Hello,
I've a GUI which runs some scripts and a simulink model.
I need to make a standalone aplication which runs in computers without matlab and simulink. It must be able to change inputs and parameters in the model.
I've built the executable model with the Rapid Simulation Target in Real Time Workshop and the standalone application with Matlab Compiler. For changing the parameters I modify the param_struct variable.
In my computer it works well but in other computers without matlab doesn't work. I have Matlab Compiler Runtime (MCR) installed in all computers.
I don't know what I can do.
Can I convert my Simulink model in a matlab function? Should I use a s-function? How does it work?
All ideas will be welcomed.
Thanks in advance.
I've a GUI which runs some scripts and a simulink model.
I need to make a standalone aplication which runs in computers without matlab and simulink. It must be able to change inputs and parameters in the model.
I've built the executable model with the Rapid Simulation Target in Real Time Workshop and the standalone application with Matlab Compiler. For changing the parameters I modify the param_struct variable.
In my computer it works well but in other computers without matlab doesn't work. I have Matlab Compiler Runtime (MCR) installed in all computers.
I don't know what I can do.
Can I convert my Simulink model in a matlab function? Should I use a s-function? How does it work?
All ideas will be welcomed.
Thanks in advance.
RE: Simulink model as standalone application.
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Simulink model as standalone application.
S- functions are very powerful, but most of the time Simulink is needed for this.
Likely you need matlab on every computer you want to use the M compiler on.
If you want this very generic in terms of running it on any computer then why not write your code on C++ and generate a .exe that the user just clicks on?
Fe
RE: Simulink model as standalone application.
http://www.mathworks.com/products/rtw/
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
Chinese prisoner wins Nobel Peace Prize
RE: Simulink model as standalone application.
That's wicked !
Fe
RE: Simulink model as standalone application.
I fixed it!
[SARCASM MODE]=ON
Only one week to discover an error in the input mat file!
[SARCASM MODE]=OFF
FeX32: I need a distributable interactive application of my model.
IRstuff: I'd already checked the Mathworks website.
:)
and I'd read sooooo much about. It's the neverending story.
That's all for now.
Regards...