alt key in live script

10 vues (au cours des 30 derniers jours)
Simone Panada
Simone Panada le 29 Oct 2019
Commenté : Matthias SImons le 22 Avr 2020
to whom it may concern, I have a problem with MATLAB live scripts.
i'm using MARLAB R2019b and when i press alt or alt gr keys, it shows me shortcuts to the toolbar options. I want to disable them because i need to use alt key for writing chars like @ or [ ]. On my keybord these chars need alt+another key to be written.
in the screenshot below I show the shortcuts.
Screenshot (19)_LI.jpg
  2 commentaires
Rik
Rik le 29 Oct 2019
Generally key combinations require you to hold alt while typing the other key. That would not make these shortcuts show up. Can you confirm this is the case?
Simone Panada
Simone Panada le 29 Oct 2019
Modifié(e) : Rik le 29 Oct 2019
Thank you Rik for replying vety quickly. In my case shortcuts are showed up either when I only press alt gr key or when I press alt gr + char key at the same time

Connectez-vous pour commenter.

Réponses (1)

Ajay Pattassery
Ajay Pattassery le 31 Oct 2019
Modifié(e) : Ajay Pattassery le 1 Nov 2019
You can disable the toolbox mnemonics by executing the following command.
com.mathworks.desktop.mnemonics.MnemonicsManagers.get.disable
The command can be added to your startup.m file if you want to execute the above command automatically every time you open Matlab.
If the startup.m file is not already existing, follow the procedure mentioned below to create a new one. (Refer section Startup Options in MATLAB Startup File)
  2 commentaires
Sebastien Hoffmann
Sebastien Hoffmann le 7 Nov 2019
Hello !
same thing happened to me to, since i've installed release R2019b (this behaviour was not present with R2017b).
I also noticed it only happens with the Live Editor.
However, the above mentioned command seems to work. I've added it to my startup.m file.
thanks a lot !
Matthias SImons
Matthias SImons le 22 Avr 2020
Hello Ajay, thanks a lot from me too!
Although I cannot believe that you need a hack to get a workaround for a simple problem like this.
On the same note: Why is it that I cannot set preferencesfor the live editor at all?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by