user-defined functions

조회 수: 11 (최근 30일)
dab483
dab483 2011년 11월 29일
can we use multiple user-defined functions block (like s-function level 1, level 2, embedded matlab function) in one simulink model? will it degrade any performance (maybe in this case i am using s-function to describe my process model and then i am using the embedded matlab function as the estimator)?

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 11월 29일
There is no limitation regarding the number of user-defined function blocks in a model. The performance depends on how well the function is written.
  댓글 수: 2
dab483
dab483 2011년 11월 29일
between those 3 types, is there any differences in terms of speed of simulation?
Kaustubha Govind
Kaustubha Govind 2011년 11월 29일
Please see the Speed and Code Generation Requirements table on: http://www.mathworks.com/help/toolbox/simulink/ug/bq3qcgr.html

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by