How to use a matlab code in simulink block?
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.
Answers (3)
Ilham Hardy
on 24 Jan 2013
0 votes
Sachin Ganjare
on 24 Jan 2013
0 votes
Use Matlab function block from simulink library.
Azzi Abdelmalek
on 27 Jan 2013
Edited: Azzi Abdelmalek
on 27 Jan 2013
0 votes
You can use Interpreted MATLAB Function. When you need to generate a C/C++ code, use a Matlab function like suggested by Ilham.
Categories
Find more on Simulink Functions 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!