How to use a matlab code in simulink block?

조회 수: 230 (최근 30일)
mythreyi
mythreyi 2013년 1월 24일
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.

답변 (3개)

Ilham Hardy
Ilham Hardy 2013년 1월 24일

Sachin Ganjare
Sachin Ganjare 2013년 1월 24일
Use Matlab function block from simulink library.

Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 27일
편집: Azzi Abdelmalek 2013년 1월 27일
You can use Interpreted MATLAB Function. When you need to generate a C/C++ code, use a Matlab function like suggested by Ilham.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by