matlab recognise french character
Mostra commenti meno recenti
Hi, i have installed matlab 2011a on windows in French, but it seems that matlab doesn't recognise the letters with accent. What should I do?
1 Commento
Gabriela
il 16 Gen 2014
Risposta accettata
Più risposte (3)
Hervé
il 16 Gen 2016
2 voti
Note that Release R2015b of Matlab natively fixes this bug for "dos" and "!". We thus don't need this trick any more. (More over applying this method in (≥)R2015b would now give bad results). For information.
José-Luis
il 16 Gen 2014
What character encoding are you using? Might be that French is not supported for it. You could always change it.
doc slCharacterEncoding
3 Commenti
Walter Roberson
il 16 Gen 2014
You might also need to change your MS Windows default font to one of the ISO 8996 compatible fonts such as an 8996-1 font. Also you might need to change your keyboard setting.
(Sorry, I have not dug into MS Windows fonts for a fair while so I do not have exact instructions. And finding the right widget is probably pretty different in Windows 8...)
Gabriela
il 16 Gen 2014
Walter Roberson
il 16 Gen 2014
How are you attempting to use the characters? You cannot use them in variable names. You can use them in comments and in strings. Azzi showed an example in a string; using that example depends upon your MS Windows font and keyboard settings.
Azzi Abdelmalek
il 16 Gen 2014
Modificato: Azzi Abdelmalek
il 16 Gen 2014
If I write
s='Hétérogénéité'
The result is
s=
Hétérogénéité
You can't use Hétérogénéité as a variable, but you don't need it
3 Commenti
Gabriela
il 16 Gen 2014
Modificato: Azzi Abdelmalek
il 16 Gen 2014
José-Luis
il 16 Gen 2014
What does slCharacterEncoding() return?
Gabriela
il 16 Gen 2014
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!