utility f(x)

Switching Between Panels

panel_visibility_switch

functions.panel_visibility.panel_visibility_switch(app, target_tag)

regulates the visibility of panels/views in the main app. so instead of replicating on/off switches with each menu this will turn off everything except the target_tag. Can be improved (to say the least).

Parameters
  • app (app) – an MATLAB app class to which contains all parts of the applications. Important in this case are the handles to each panel which can be comfortably accessed via app instead of collecting and passing it manually to this function

  • target_tag (str) – marks the tag of the tab which raised the function call, as such, that panel is going to be made visible while every other panel will be set to invisable

Returns

`void `