- Creating and reading the “sl_customization.m” file : https://www.mathworks.com/help/simulink/ug/registering-customizations.html#:~:text=and%20methods%20to%3A-,Add%20Items%20to%20Model%20Editor%20Menus,-Disable%20Simulink%20Toolstrip
- Article on defining custom shortcuts in Simulink : https://blogs.mathworks.com/simulink/2013/06/24/defining-custom-shortcuts-in-simulink/
How to add a keyboard shortcut for a custom action in a custom Simulink toolstrip?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi Matlab and Simulink guys,
I have created a custom Simulink toolstrip tab via slCreateToolstripComponent and slCreateToolstripTab. I have added custom actions to the tab and these actions call own Matlab scripts.
Is it possible to define keyboard shortcuts for these actions (similar to what is possible via 'schema.accelerator' in sl_customization.m)? If there is no documented way, then maybe an undocumented way?
Would appreciate any help and thanks in advance ...
0 comentarios
Respuestas (1)
Govind KM
el 20 de Ag. de 2024
Hi Ferry,
This is a known issue with custom toolstrips. If keyboard shortcuts are necessary for your workflow, the best approach would be to continue using custom menus by defining a “sl_customization.m” file. To do so, you can refer to the following links:
Hope this is useful.
0 comentarios
Ver también
Categorías
Más información sobre Desktop en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!