How to make custom keyboard shortcuts for Simulink ?

26 次查看(过去 30 天)
The shortcut for Run in simulink is F5. I would like to customize to some other key like SHIFT. Can anyone let me know how to do it ?

回答(1 个)

Shubham
Shubham 2024-8-7,6:55
Hi Vignesh,
As per my understanding, certain default shortcuts in Simulink, like “Run” command are not customizable, but you can still create new Simulink shortcuts for custom actions.
Here's how you can do it:
  1. Create a 'sl_customization.m' file in your current working directory.
  2. Edit the 'sl_customization.m' file to define a custom shortcut. For more information on defining custom shortcuts in Simulink, you can refer to the following blog post: https://blogs.mathworks.com/simulink/2013/06/24/defining-custom-shortcuts-in-simulink/
  3. Save the file and refresh the customizations by running command “sl_refresh_customizations”.
Hope it helps.
Regards,
Shubham

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by