필터 지우기
필터 지우기

use S-function

조회 수: 1 (최근 30일)
Cosmin Darab
Cosmin Darab 2011년 9월 23일
Hy, I have a script in matlab and need to put it in simulink, but i have dificulties using s-function Have an example? Thank you

채택된 답변

TAB
TAB 2011년 9월 23일
You can use 'Embedded MATLAB Function' block in your model for embedding MATLAB code with simulink. This block is available at
Simulink Library browser > User defined functions > 'Embedded MATLAB Function'
For help type
doc 'Embedded MATLAB Function'
on command window.
  댓글 수: 1
Cosmin Darab
Cosmin Darab 2011년 10월 3일
Thank you for your answer,
When using user defined functions it says that roots is not suported.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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