Need help with a school treeplot "homework".
Ältere Kommentare anzeigen
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 Kommentare
ramdinca
am 31 Jan. 2018
Bearbeitet: Walter Roberson
am 31 Jan. 2018
ramdinca
am 18 Feb. 2018
Bearbeitet: per isakson
am 18 Feb. 2018
Rik
am 18 Feb. 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
am 19 Feb. 2018
Antworten (0)
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!