How to use a matlab code in simulink block?

187 visualizzazioni (ultimi 30 giorni)
mythreyi
mythreyi il 24 Gen 2013
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.

Risposte (3)

Ilham Hardy
Ilham Hardy il 24 Gen 2013

Sachin Ganjare
Sachin Ganjare il 24 Gen 2013
Use Matlab function block from simulink library.

Azzi Abdelmalek
Azzi Abdelmalek il 27 Gen 2013
Modificato: Azzi Abdelmalek il 27 Gen 2013
You can use Interpreted MATLAB Function. When you need to generate a C/C++ code, use a Matlab function like suggested by Ilham.

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by