return in menu matllab, function menu, back in menu of choices

2 views (last 30 days)
Hello,
I have menu for example
d=menu('main menu','function','methods')
switch d
case 1
o=menu('function','linear','nonlinear','back main menu')
case 2
u= menu('methods','hierarchical','nonhierarchical','back main menu')
end
When I push the back main menu, I wanna go back to the main menu, I want to close all the windows and cleaned the command line.
As you'll have to define 'back main menu' ?
Thanks for you help.

Answers (0)

Categories

Find more on Multidimensional Arrays 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!