フィルターのクリア

Does anyone know how to load .mat file into app designer for plotting?

3 ビュー (過去 30 日間)
Subathra Nilamegan
Subathra Nilamegan 2023 年 11 月 27 日
回答済み: Image Analyst 2023 年 11 月 27 日
% this is the example of how I load .mat file in normal MATLAB editor window. I want to load in MATLAB app designer too. can anyone help me?
load SBC1.mat
BD1 = SBC1.VarName1;
SD1 = SBC1.VarName2;
load SBC2.mat
BD2 = SBC2.VarName1;
SD2 = SBC2.VarName2;
load SBC3.mat
BD3 = SBC3.VarName1;
SD3 = SBC3.VarName2;
load SBC4.mat
BD4 = SBC4.VarName1;
SD4 = SBC4.VarName2;
  2 件のコメント
Subathra Nilamegan
Subathra Nilamegan 2023 年 11 月 27 日
Hi Sir, thank you for replying. Even I change the code, the error says VarName1 is unrecognizable. i checked in the .mat file . The column named VarName1 actually. So, I don't know where I did mistakes.

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

回答 (1 件)

Image Analyst
Image Analyst 2023 年 11 月 27 日
Try this:
s = load('SBC1.mat')
Don't use a semicolon and type that into the command window. What do you see? It should list the names of the variables contained in the SBC1.mat file.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by