Prompting users to enter an array to plot a stem plot in matlab app designer
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    tyler seudath
 il 3 Feb 2021
  
    
    
    
    
    Commentato: tyler seudath
 il 3 Feb 2021
            Hi Everyone,
I am trying to allow users to enter an array of number such as [-13.62 12 4.5 6.06] inot an edit field to  plot a stem plot. I do not know how to pass the array ain an edit field. Can someone assist please?
Thank you,
TS
0 Commenti
Risposta accettata
  Mario Malic
      
 il 3 Feb 2021
        Hello,
you can use EditField(Text) component where user would write [1, 2, 3] into the box, and when you'd calculate stuff using that field, use
str2num(app.Editfield.Value)
to get an array.
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

