Download a script (*.m) instead of BLOCK DIAGRAM (*mdl) into target PC.

1 view (last 30 days)
Can I download a script (*.m) instead of BLOCK DIAGRAM (*mdl) into target PC. How to do it? What toolboxes do I need?

Answers (2)

Kaustubha Govind
Kaustubha Govind on 31 May 2013
You can use MATLAB Coder to generate standalone C code from MATLAB code and compile it into an executable or library for the host machine. If your target is different from the host, you can adjust the datatype sizes, but might need to adjust the build rules manually.

Walter Roberson
Walter Roberson on 31 May 2013
You could probably download it, but you wouldn't be able to run it. The target is not running MATLAB.

Community Treasure Hunt

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

Start Hunting!