Clear Filters
Clear Filters

which simulink block to use in the model?

3 views (last 30 days)
My requirements has some inputs, When i run the simulink model i want the inputs should go to m-file than use those inputs to create some data in the file which will be sent back to simulink. is there any possibilities to do like this? should i use TO FILE and FROM FILE blocks to send and retrieve data from file?
  1 Comment
Yao Li
Yao Li on 16 Apr 2013
why not replace the m file with s-functions or other user-defined funcitons?

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 16 Apr 2013
Edited: Azzi Abdelmalek on 16 Apr 2013
If you have some calculations to do use matlab function bloc or interpreted matlab function bloc

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!