sometimes in the MATLAB command line window, it will occur " Caught "std::exception" Exception message is: Invalid character code sequence detected."

57 次查看(过去 30 天)
sometimes in the MATLAB command line window, it will occur " Caught "std::exception" Exception message is: Invalid character code sequence detected."

采纳的回答

Tushar Sharma
Tushar Sharma 2023-12-4
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:
  • tempdir
  • prefdir
  • matlabroot
  • !hostname
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by