which simulink block to use in the model?

3 次查看(过去 30 天)
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 个评论
Yao Li
Yao Li 2013-4-16
why not replace the m file with s-functions or other user-defined funcitons?

请先登录,再进行评论。

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-4-16
编辑:Azzi Abdelmalek 2013-4-16
If you have some calculations to do use matlab function bloc or interpreted matlab function bloc

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by