How to launch scripts into Simulink using key shortcut

2 ビュー (過去 30 日間)
Marco Naccini
Marco Naccini 2022 年 11 月 24 日
回答済み: Amith 2024 年 9 月 10 日
I have some scripts to automate some procese designing in Simulink, but I would like to run/launch them with a key shortcuts.
I tried to use 'accelerator' but is shows in the menu accelerator keys but without work.
How to activate accelerators or run/launch a custom scripts with a key shortcuts ?

回答 (1 件)

Amith
Amith 2024 年 9 月 10 日
Hi Marco,
Unfortunately, MATLAB doesn’t support running a specific script using a custom keyboard shortcut. It only allows predefined actions to be set for custom keyboard shortcuts. Alternatively, you could create a single function that calls all the necessary functions to run your scripts for automating design processes. You can then run this single script using the command window.
I hope this helps!

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by