Need help with a school treeplot "homework".
Show older comments
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 Comments
ramdinca
on 31 Jan 2018
Edited: Walter Roberson
on 31 Jan 2018
ramdinca
on 18 Feb 2018
Edited: per isakson
on 18 Feb 2018
Rik
on 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
on 19 Feb 2018
Answers (0)
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!