How to Add Source Control Buttons to the MATLAB Toolstrip?
10 ビュー (過去 30 日間)
古いコメントを表示
Alexander Hedene
2024 年 11 月 18 日
コメント済み: Alexander Hedene
2024 年 11 月 18 日
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!
0 件のコメント
採用された回答
Swastik Sarkar
2024 年 11 月 18 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Source Control についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!