How to use a matlab code in simulink block?

233 visualizaciones (últimos 30 días)
mythreyi
mythreyi el 24 de En. de 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.

Respuestas (3)

Ilham Hardy
Ilham Hardy el 24 de En. de 2013

Sachin Ganjare
Sachin Ganjare el 24 de En. de 2013
Use Matlab function block from simulink library.

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

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by