When trying to use TCST package for matlab getting this error in MATLAb 2024a "Caught "std::exception" Exception message is: Invalid character code sequence detected."

26 visualizaciones (últimos 30 días)
I am trying to use TCSTInterface to run and optimize some structures in CST MWS. When I try to open and run any CST file from MATLAB 2024a, the program throws me the error:
Caught "std::exception" Exception message is:
Invalid character code sequence detected.
This error is not observed on an older matlab version.
Kindly help.

Respuestas (1)

Saurabh
Saurabh el 26 de Ag. de 2024
Hi Aditya
The presence of non-English characters in a file path is usually indicated by the warning "Invalid character code sequence detected".
You might want to look for non-English characters along the following possible paths:
  • Tempdir
  • Prefdir
  • Matlabroot
  • !hostname
You might be able to fix this mistake by changing any non-English characters in these pathways to regular English ones.
I hope this helps.
  1 comentario
Andrés
Andrés el 12 de Sept. de 2024
Hi Aditya,
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Characters and Strings 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