How to make custom keyboard shortcuts for Simulink ?

6 visualizaciones (últimos 30 días)
VIGNESH BALAJI
VIGNESH BALAJI el 30 de Oct. de 2023
Respondida: Shubham el 7 de Ag. de 2024
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 ?

Respuestas (1)

Shubham
Shubham el 7 de Ag. de 2024
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

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by