im trying to add pop up menu functionality to change the plot type

3 次查看(过去 30 天)
i have a gui that i am building which has totally 4 graphs in which each has 8 inputs text edits which take the input values which are further calculated and plotted in there respective plots , now the idea is to add a pop-up menu with the 4 methods for plotting and connect it to a push button which plots the values on a single graph, now the question is how to add switch cases of graph methods to pop-up menu can you give me an example

采纳的回答

Joseph Cheng
Joseph Cheng 2014-4-22
type in guide in the workspace. under the Create New GUI tab there should be a template called "GUI with Axes and Menu". That should be everything you need to use switch statements and pushbutton update of axes.
  2 个评论
rohith  adulla
rohith adulla 2014-4-22
thanks mate i guess my problem gets solved once i get it solved ill let you know
rohith  adulla
rohith adulla 2014-5-1
can you help me up in one more thing the pop up menu int his default interface is not changing even when i change in the property inspector can you suggest me a way to change those things

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by