using .m file in simulink model

1 view (last 30 days)
Girisha Joshi
Girisha Joshi on 14 Feb 2012
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....

Answers (1)

Kaustubha Govind
Kaustubha Govind on 14 Feb 2012
To call MATLAB code from a Simulink model, use one of the three MATLAB Function Blocks available.

Categories

Find more on Large-Scale Modeling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!