In appdesigner, how do I reference a variable I just defined generally?
1 ビュー (過去 30 日間)
表示 古いコメント
Hi, in app designer I followed this procedure:
https://www.mathworks.com/help/matlab/creating_guis/share-data-across-callbacks-in-app-designer.html
In my case T is a table. After defining it I also want to parse it a little and create sub variables based on data in T. I found out that this is tricky... When I try running the following code, I get an error:
Undefined function or variable 'T'.
If I try app.T - I get the same error.
So - how do I reference T?
properties (Access = public)
T = readtable('All_proteins_summary.csv'); % get data
H = height(T) % also tried app.T --> also soesn't work
end
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!