How can I copy the programm?
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
Hey guys,
I have got some questions. I am a newbie working with guis. Reading the matlab help I found following programm:
In this link its said to copy the words below into the command window.
copyfile(fullfile(docroot, 'techdoc','creating_guis',...
'examples','lb.*')), fileattrib('lb.*', '+w')
guide lb.fig
By doing this a programm opens. With this programm you can insert the variables of the workspace in a listbox. From this listbox you can choose two variables and you can plot them.
When I try to make the same programm, and copy the whole stuff, I dont get the listbox, where the variables of the workspace should be. Also I get one warning:
Warning: Single-selection 'listbox' control requires a scalar Value.
Control will not be rendered until all of its parameter values are valid
I dont know why I get this warning. How can I fix this?
Thanks in advance.
Kind regards Frederic
Respuestas (1)
per isakson
el 10 de Feb. de 2015
Editada: per isakson
el 10 de Feb. de 2015
"Also I get one warning:"   See the Uicontrol Property, max   In a table down the page you'll find
'listbox'
The Max property value helps determine whether the user can select multiple
items in the list box simultaneously. If Max – Min > 1, then the user can
select multiple items simultaneously. If Max – Min ≤ 1, then the user cannot
select multiple items simultaneously. If you set the Max and Min properties
to allow multiple selections, then the Value property value can be a vector
of indices.
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!