MATLAB executable in Embedded MATLAB

Is there any way to run a MATLAB executable in Embedded MATLAB without using S-Function?
Thanks,

1 Comment

What do you mean by "MATLAB executable"? Is it a file with a .m or .p extension?

Sign in to comment.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 14 Aug 2012
Edited: Azzi Abdelmalek on 14 Aug 2012
on your simulink model, do
  1. click tools
  2. code generation (real time wokshop on previous matlab version)
  3. Build model
before that you have to set some configuration, like fixed sample time, and choosing a target (depends on how you want to run your executable).
check your subfolder yourModel_grt_rtw

2 Comments

Yes I have it. How do I do it? Thank you!
what do you want to do exactly, run your model on real time, or ...

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Products

Asked:

on 14 Aug 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!