Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simulink model as standalone application.

Status
Not open for further replies.

kmt0000

Industrial
Feb 9, 2011
2
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.
 
Replies continue below

Recommended for you

Never heard of anyone doing this. Can I ask why?
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?

[peace]
Fe
 
Thanks all,
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...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor