- Tempdir
- Prefdir
- Matlabroot
- !hostname
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."
조회 수: 17 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Saurabh
2024년 8월 26일
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:
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
Andrés
2024년 9월 12일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!