whats wrong with this app?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi! :)
I am attaching a small app, visualiseringsapp.
What is wrong with my switch value changed callback function?
I don’t get any plot and don’t get any error either
App3 is a big app so I am not attaching it here.
Visualiseringsapp is calling app3 as you can see.
0 件のコメント
回答 (1 件)
Alberto Cuadra Lara
2024 年 2 月 4 日
Hi Muazma,
I guess the property Osmotisk_data is obtained from app3, right? In that case, you should refer to
X = app.Callingapp.Osmotisk_data.samlet_vannaktivitet;
Y = app.Callingapp.Osmotisk_data.Osmotic_pressure;
and not directly from app.Osmotisk_data, because that property is not defined in visualiseringsapp.
Additionaly, I do not understand your objective with the else statement
else
plot(app.UIAxes, '','')
end
8 件のコメント
Alberto Cuadra Lara
2024 年 2 月 5 日
Great! No, you can only access the public properties of app3 object.
Also, the cla function was included in Matlab R2006a, so you should be able to use it.
Best,
Alberto
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!