How to write a text in INPUTDLG without a field?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sarath S
am 11 Jun. 2020
Kommentiert: Star Strider
am 11 Jun. 2020
I was trying to create an input dialog box for gathering the co-ordinates of two nodes, A & B.
Is it possible to have a text that just says Node A, without any entry field next to it. It should be followed by three fields x,y,z and then another text saying Node B, followed again by the x,y,z fields.
Something like this:
Node A
x: ___
y: ___
z: ___
Node B
x: ___
y: ___
z: ___
0 Kommentare
Akzeptierte Antwort
Star Strider
am 11 Jun. 2020
That does not appear to be an option.
Try this:
prompt = {'Node A: x:', 'Node A: y:', 'Node A: z:', 'Node B: x:', 'Node B: y:', 'Node B: z:'};
v = inputdlg(prompt, 'Nodes', [1 35]);
.
2 Kommentare
Star Strider
am 11 Jun. 2020
As always, my pleasure!
You might be able to do what you want with GUIDE or App Designer (that I would not be able to help you with because I very rarely use them).
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!