using .m file in simulink model

In my project, I am using simulink to model the system.Whose intermediate data has to be used in certain .m file and its output should be again used for simulink again..here I cant use workspace since it will cause delay....kindly help me in this regard....

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 2 月 14 日

1 投票

To call MATLAB code from a Simulink model, use one of the three MATLAB Function Blocks available.

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

タグ

質問済み:

2012 年 2 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by