I have some conversions to do with the inputs, i want to do this in m-file. so, how can i call m-file from simulink ? i.e. i want m-file also to execute when i run the model in simulink.

 採用された回答

Tobias
Tobias 2013 年 4 月 22 日
編集済み: John Kelly 2014 年 5 月 27 日

2 投票

There are different ways you can do this. The most simple, but limited is probably Fcn. However, for your purpose, it sounds like you would be better off with either using Interpreted Matlab Function or even better: Matlab Function, which enables you to make your own function and use it in simulink.

その他の回答 (0 件)

カテゴリ

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

質問済み:

2013 年 4 月 22 日

編集済み:

2014 年 5 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by