Need help with a school treeplot "homework".
显示 更早的评论
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 个评论
ramdinca
2018-1-31
编辑:Walter Roberson
2018-1-31
ramdinca
2018-2-18
编辑:per isakson
2018-2-18
Rik
2018-2-18
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
2018-2-19
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!