how to show matlab scope results on gui?

7 ビュー (過去 30 日間)

回答 (1 件)

Reshma Nerella
Reshma Nerella 2021 年 2 月 18 日
Hi,
Data can be saved to the MATLAB workspace/mat file through a Simulink Scope block. For data to be saved, you need to set Scope block parameters.
For saving data in workspace, Refer to the documentation page: Set Scope Parameters for Logging to Workspace
For storing in a mat file, Refer to the documentation page: Signal Logging to a File
Once you select the required options and save the data, load the data in the app designer and then plot using the variables.
Hope this helps!

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by