How to use a matlab code in simulink block?

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.

Antworten (3)

Sachin Ganjare
Sachin Ganjare am 24 Jan. 2013

0 Stimmen

Use Matlab function block from simulink library.
Azzi Abdelmalek
Azzi Abdelmalek am 27 Jan. 2013
Bearbeitet: Azzi Abdelmalek am 27 Jan. 2013

0 Stimmen

You can use Interpreted MATLAB Function. When you need to generate a C/C++ code, use a Matlab function like suggested by Ilham.

Kategorien

Produkte

Gefragt:

am 24 Jan. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by