フィルターのクリア

Plot Array in Simulink scope

9 ビュー (過去 30 日間)
SamuLibero
SamuLibero 2022 年 10 月 12 日
回答済み: Fangjun Jiang 2022 年 10 月 13 日
Hi guys,
I have a problem, here the situation:
I've simulated a system in simulink, the results get plotted graphically into a scope.
I've the real data of the system i've simulated, devided in various 40000x1 doubles loaded on my workspace trough a matlab script
The simulation time is set to 400
How can I take the real data and plot it also in the main scope? (I know i would need a mux to merge everything into the scope)
thank you for the answer!

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 10 月 13 日
Use a "From Workspace" block to read the data from the workspace to Simulink, then connect the output to a Scope.
To show in a single Scope, you can specify the number of inputs of the Scope, or use a Mux block first.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by