load Matlab shortcuts xml file

3 ビュー (過去 30 日間)
Markus
Markus 2011 年 10 月 31 日
I have a custom Matlab toolbox which supports customizations in form of Matlab shortcuts. In that context, i have different shortcut versions for different Toolbox releases.
Since it is not possible to handle these customizations "simulink-like" (sl_customization), my solution is to simply exchange the shortcuts.xml file in the matlab prefdir and reload it afterwards. The problem i am stucking with is that reloading of the file needs a new Matlab session (and that is, of course, not acceptable for the people working with the toolbox).
Does somebody know how to load new shortcuts without a Matlab restart or have a different approach for changing shortcuts dynamically within a session?

回答 (1 件)

Jonas
Jonas 2012 年 2 月 22 日
Use the Shortcut Toolbox by Richie Cotton to either create switchable shortcut categories, or to learn how to use shortcutUtils to switch between shortcut sets.

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by