- tempdir
- prefdir
- matlabroot
- !hostname
sometimes in the MATLAB command line window, it will occur " Caught "std::exception" Exception message is: Invalid character code sequence detected."
23 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
jiang zhang zhang
am 24 Nov. 2023
Kommentiert: Andrés
am 12 Sep. 2024
sometimes in the MATLAB command line window, it will occur " Caught "std::exception" Exception message is: Invalid character code sequence detected."

0 Kommentare
Akzeptierte Antwort
Tushar Sharma
am 4 Dez. 2023
Hi jiang,
When you encounter the message "Invalid character code sequence detected", it typically indicates the presence of non-English characters in a file path.
You may want to check the following potential paths for non-English characters:
By replacing any non-English characters with standard English characters in these paths, you may be able to resolve this error.
I hope this information proves helpful to you!
2 Kommentare
Andrés
am 12 Sep. 2024
Hi Tushar Sharma,
Thank you for your suggestion. I’ve checked all the paths you mentioned, including tempdir, prefdir, matlabroot, and the hostname, and I can confirm that none of them contain any non-English characters. Despite this, I’m still encountering the same issue with the error message: "Invalid character code sequence detected."
Would you have any other recommendations or insights on how to resolve this issue?
Thank you in advance for your help.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Performance and Memory finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!