In appdesigner, how do I reference a variable I just defined generally?

2 ビュー (過去 30 日間)
Iddo Weiner
Iddo Weiner 2019 年 3 月 2 日
コメント済み: Iddo Weiner 2019 年 3 月 3 日
Hi, in app designer I followed this procedure:
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
  2 件のコメント
Iddo Weiner
Iddo Weiner 2019 年 3 月 3 日
Good question, sorry I didn't make it clear enough.
I'm observing this error within the properties code.


回答 (0 件)


Community Treasure Hunt

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

Start Hunting!

Translated by