Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Simulink model as standalone application.

Simulink model as standalone application.

Simulink model as standalone application.

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.

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?


RE: Simulink model as standalone application.

That's wicked !


RE: Simulink model as standalone application.

Thanks all,
I fixed it!

Only one week to discover an error in the input mat file!

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.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close