How to use a matlab code in simulink block?

193 vues (au cours des 30 derniers jours)
mythreyi
mythreyi le 24 Jan 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.

Réponses (3)

Ilham Hardy
Ilham Hardy le 24 Jan 2013

Sachin Ganjare
Sachin Ganjare le 24 Jan 2013
Use Matlab function block from simulink library.

Azzi Abdelmalek
Azzi Abdelmalek le 27 Jan 2013
Modifié(e) : Azzi Abdelmalek le 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.

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by