I'm trying to create a uifigure containing a component (panel containing gridlayouts, axes, etc) that was built in AppDesigner. I turn off the uiaxes toolbar for my axes (three of them per panel, I have 3 panels) because I don't want it on any of them. But when I ran the profiler to see why it takes so long for my figure to launch this is what I see.
Why is it taking so long just to make a toolbar invisible? Is there a faster way to do this? Obviously it would be better if it simply didn't create the toolbar, because when I dig deeper into the profiler I find that 'createToolbarButton' is where most of the time is being spent, even though I'm turning the toolbar off in every one of my axes.
I can't use regular axes, because it's in an AppDesigner component, though I don't know if they are faster anyway.