How can I get the array from a workspace block to plot it in guide?

6 ビュー (過去 30 日間)
Sebastian Martínez
Sebastian Martínez 2019 年 12 月 1 日
回答済み: Samatha Aleti 2020 年 1 月 29 日
Hi everyone!, hope you can help me. I 'm new using matlab and although I've already searched a lot, I haven´t had many results. I'd like to know how can I call 2 arrays (FT &Voe) from their respective workspaces (R & ClockFT) in simulink to use them in guide and then plot them against each other (FT vs Voe). *Both arrays change according to certain input data given and they're only a column

回答 (1 件)

Samatha Aleti
Samatha Aleti 2020 年 1 月 29 日
The following example might help you:
% To open the example, run the following commands
cd(setupExample('matlab/GuidePlotWorkspaceVarsExample'));
guide('PlotVariablesGUIDEExample.fig');
Refer the following documentation link for detailed explanation
Also, Guide will be removed in future releases. To create new apps, start using App Designer:
Hope this helps!

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by