How to use a matlab code in simulink block?

199 ビュー (過去 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 Center および File ExchangeSimulink Functions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by