How to show data in a textField on app designer?

3 views (last 30 days)
Hello fellows,
I have a few problems in a app designer, a try to show data in a textArea component,but without success, can anyone help me to solve this issue?
Thanks in advance
function OpenFile(~, FilePath, FileName)
app.TextArea.Text = 'testing';
end

Accepted Answer

Kevin Holly
Kevin Holly on 13 Sep 2022
It should be
app.TextArea.Value = "testing";
  4 Comments
Kevin Holly
Kevin Holly on 14 Sep 2022
If you could accept this answer, I would appreciate it.

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!