Need help with a school treeplot "homework".
Mostrar comentarios más antiguos
Build a GUI application for the syntaxes:
treeplot (p)
treeplot (p, nodeSpec, edgeSpec)
It is required in the graphical interface to find:
· A menu called 'Sintaxe' and 2 submenus that allows to select the syntax of the desired function
· An edit box for reading p
· Graphical objects to read input arguments nodeSpec, edgeSpec
· A button called 'Rezultat' that, when enabled, displays graphical representations of functions on an axis object.
5 comentarios
ramdinca
el 31 de En. de 2018
Editada: Walter Roberson
el 31 de En. de 2018
ramdinca
el 18 de Feb. de 2018
Editada: per isakson
el 18 de Feb. de 2018
Rik
el 18 de Feb. de 2018
Why are you using a global, instead of saving it to a field in your guidata? And what do you mean with renaming the menu? Do you want to rename the function?
%replace
global aux;
aux = 0;
%with
handles.aux=0;
guidata(hObject,handles)
%and in pushbutton1_Callback, replace
global aux;
%with
aux=handles.aux;
ramdinca
el 19 de Feb. de 2018
Respuestas (0)
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!