フィルターのクリア

How can I access both data and time from the running simulink model and use it in a particular program?

3 ビュー (過去 30 日間)
How can I access both data and time from the running simulink model and use it in a particular program?

回答 (1 件)

Jim Riggs
Jim Riggs 2022 年 11 月 7 日
Simulink has a "to workspace" block which saves the time history of the model data to the Matlab workspace in a variable that you name. The default output type is a "time series", which automatically includes the simulation time with the data.
  1 件のコメント
SHALINI R
SHALINI R 2022 年 11 月 8 日
But I wanna access data and time while the simulation is running, not after the simulation.

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

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by