reading vector data sets from simulink model back into matlab .m file to create variable and then manipulate operation of simulink model

1 回表示 (過去 30 日間)
I am trying to read a vector data set back into my matlab .m file. I have followed numerous tutorials on how to do this but I keep on getting
error messages "Unable to resolve the name.....out. simulink block name etc. I need to do read data from simulink in run time and feed it back into my matlab .m file

採用された回答

madhan ravi
madhan ravi 2023 年 11 月 20 日
編集済み: madhan ravi 2023 年 11 月 20 日
why not use a MATLAB Function block in your model and call the script as a function within this block? YOu have two more options to do it: See in Simulink Function Callers
  2 件のコメント
Glen MASON
Glen MASON 2023 年 11 月 21 日
Hello Madhan Ravi, thanks for the prompot reply. I have not tried this technique before, could you recommend any tutorials or walktrhroughs videos how to do it. So far I have been trying to use the Signal out blocks with no luck however looking at online tutorials it is supposed to work so it si frustrating
Glen MASON
Glen MASON 2023 年 11 月 23 日
It doesn’t work I still get loads of errors

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrepare 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