MATLAB: MATLAB App Designer: How to hide few of the app components when i run the app MATLABmatlab app designer I am trying to create an App where i want to hide some of the components intitially when I run the App. Could someone help me how to do it? Your help would be highly appreciated. Thank you. Best Answer For example, from Component Browser, select app.UIFigure and add StartupFcn callback.Then in Code View, you can add startupFcn as the follows. You can make components invisible by changing Visible property of components.function startupFcn(app) app.Button.Visible = 'off'; % For button app.UIAxes.Visible = 'off'; % For axes endPlease replace app.Button or app.UIAxes to your existing components names.And if you want to make them visible, change Visible properties to 'on'.app.Button.Visible = 'on';app.UIAxes.Visible = 'on'; Related SolutionsMATLAB: Plotting in App designer x = 1:10;y = sin(x);plot(app.UIAxes,x,y); MATLAB: GUI http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F Related QuestionTool tip bug in App DesignerHi guys, I’m trying to create a multiwindow app. It’s the first app but I’m taking this error. How to solve itGUIApp Designer: How to use a camera in different CallbacksGuiApp Designer How to “StartUp” within the App
Best Answer