Custom Toolstrip tab Matlab R2022b?

9 vues (au cours des 30 derniers jours)
Fabio Curto
Fabio Curto le 27 Déc 2023
Hi everyone.
I was looking for a way to create a custom toolstrip similar as the ones highlighted in red:
For simulink I found that this is possible usign slCreateToolstripComponent (https://it.mathworks.com/help/simulink/ug/create-custom-simulink-toolstrip-tabs.html) but I could not find anything relatable for matlab itself.
Is there anyone who can help me?

Réponse acceptée

Angelo Yeo
Angelo Yeo le 28 Déc 2023
Custom tabs are not supported for MATLAB. As you found only Simulink has ones.

Plus de réponses (1)

Yair Altman
Yair Altman le 7 Sep 2024
You can indeed create custom toolstrips in Matlab, as I have shown in the following series of articles: https://undocumentedmatlab.com/articles/tag/toolstrip
Note that this relies on functionality that is not officially supported by MathWorks, but works very well in practice for the past 10-15 Matlab releases. In this sense the answer above by @Angelo Yeo is quite misleading.

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by