How to use a matlab code in simulink block?
106 views (last 30 days)
Show older comments
I am a beginner in simulink. I have my code written in matlab which is to be interface wih the simulink code. How do I use the same matlab code to use with simulink block? Please explain.
0 Comments
Answers (3)
Azzi Abdelmalek
on 27 Jan 2013
Edited: Azzi Abdelmalek
on 27 Jan 2013
You can use Interpreted MATLAB Function. When you need to generate a C/C++ code, use a Matlab function like suggested by Ilham.
0 Comments
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!