How to Add Source Control Buttons to the MATLAB Toolstrip?

14 vues (au cours des 30 derniers jours)
Alexander
Alexander le 18 Nov 2024
Commenté : Alexander le 18 Nov 2024
I'm using MATLAB R2024b and working with Git for source control. Right now, I have to right-click in the Current Folder window and select Source Control to access Git actions like Pull, Push, and Commit or use !git commands.
Is it possible to add these Git commands as buttons in the Toolstrip (where the Run and Step buttons are located) for quicker access?
I've looked for a way to enable this, but I can't find an option to show a Source Control section in the Toolstrip. Can someone guide me step by step on how to achieve this?
Thank you!

Réponse acceptée

Swastik Sarkar
Swastik Sarkar le 18 Nov 2024
Customizing the Toolstrip in the MATLAB IDE is not supported. This feature is only available in Simulink, as detailed in the documentation:
As a workaround, it is possible to create a MATLAB App that executes specific operations upon launch. This app can then be added to the Quick Access Toolbar for convenience. For more information on creating add-ons, refer to the following documentation:
Additionally, guidance on using the Quick Access Toolbar can be found here: https://www.mathworks.com/help/matlab/matlab_env/access-frequently-used-features.html#buhx0ov-36
Hope this helps streamline workflow.

Plus de réponses (0)

Catégories

En savoir plus sur Source Control dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by