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 Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by