Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Running Simulink in Matlab

1 回表示 (過去 30 日間)
sincplicity
sincplicity 2016 年 12 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a Simulink model that I would like to vary parameters for and capture the resultant outputs. I know I Can vary parameters by naming a parameter and changing it within a for loop but how do I capture the outputs such as nodes I want to look at later?

回答 (1 件)

David Barry
David Barry 2016 年 12 月 13 日
編集済み: David Barry 2016 年 12 月 13 日
There are lots of ways to log data in Simulink. You should read the doc to find the best method for you. It's difficult to offer more guidance as you haven't been very specific or shared your model/script.
  1 件のコメント
sincplicity
sincplicity 2016 年 12 月 14 日
Thank you for the response.
After reviewing the different methods for exporting simulation data, I think my first choice would be to use the Signal Logging technique for the signals and number of samples I would like.
Is there a way to write the logged signals directly to the workspace where I could process them before iterating through the next index of my loop?
As of now, I am only seeing that they are written to a .mat file.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by