When coding, why does matlab prevent me from writting ' " ^ ~ without waiting for the next character?

3 visualizaciones (últimos 30 días)
Hi!
When I type any of the following characters: ' " ^ ~ anywhere in the MATLAB environment, MATLAB holds while waiting for the next character to be typed.
For example: typing string='test doesn't put the second ' up until the next character is typed.
Thank you very very much - it's quite a frustrating/low level problem.
Matt
  4 comentarios
Mischa Kim
Mischa Kim el 18 de En. de 2014
Following-up on Jan's comment, I'd speculate that you are using different regional/language settings for MATLAB than you do for all your other S/W. In which case the keyboard might and in some instances will behave differently. As an example, on a US keyboard the "^" character types just the way you would expect it. On a German keyboard you will experience the behaviour you described above.
Matt Molteno
Matt Molteno el 19 de En. de 2014
Thanks for the lead Jan, Mischa - you were exactly right. I resolved the issue by deleting the USA-international language option in Windows control panel, so it wasn't a MATLAB issue. Perhaps some common MATLAB key combination was setting it off.

Iniciar sesión para comentar.

Respuesta aceptada

Mischa Kim
Mischa Kim el 18 de En. de 2014
Hello Matthew, this not a MATLAB functionality/feature. You will observe the same behavior in any word processing tool or in your favorite internet browser.
  1 comentario
Matt Molteno
Matt Molteno el 18 de En. de 2014
Thanks for the amazingly quick reply... I thought so as well - but it's only in MATLAB, I've tried all my other word processing programs MS.word,wordpad, notepad, firefox, etc. Any ideas?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by