matlab Appdesigner TreeNode's NodeData property is unable to be set as a char that is a matapp file name

1 visualizzazione (ultimi 30 giorni)
matlab Appdesigner TreeNode's NodeData property is unable to be set as a char that is a matapp file name
i have a written app named 'graphApp', it's unable to paste it into NodeData property. That will directly call the 'graphApp' file and run it. Why it automatically calculate the content? I just want a normal string
Should this be treated as a bug?
P.S.
Some mfile or app file (like line )trigger this,while some not(like error ). Ididnt do much experiment
  2 Commenti
Steven Lord
Steven Lord il 10 Mag 2023
What does "unable to paste it" mean in this context?
  • Do you receive warning and/or error messages? If so the full and exact text of those messages (all the text displayed in orange and/or red in the Command Window) may be useful in determining what's going on and how to avoid the warning and/or error.
  • Does it do something different than what you expected? If so, what did it do and what did you expect it to do?
  • Did MATLAB crash? If so please send the crash log file (with a description of what you were running or doing in MATLAB when the crash occured) to Technical Support so we can investigate.
鑫源
鑫源 il 10 Mag 2023
Modificato: 鑫源 il 10 Mag 2023
"unable to paste it" just mean 'graphApp' these 8 characters typed or pasted in the NodeData value box will just run the input itself as in the command window. Usually I just want a char as NodeData discription.
It's not a error/warning. It just behaves in a way I dont understand. It executes the content not like those text input box. Where should I put my char variable then? Such a place should not just store arrays
Thank you for your answer

Accedi per commentare.

Risposte (1)

Steven Lord
Steven Lord il 10 Mag 2023
Can you show us the code where you're trying to get access to the word that you typed or pasted into the NodeData box? I'm guessing you're calling eval or feval or trying to pass that text through str2num, any of which would try evaluating that as a command.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by