The system cannot find path specified error

조회 수: 15 (최근 30일)
Abdul Muiz Othman
Abdul Muiz Othman 2023년 3월 23일
댓글: MOHAMADAMIN 2023년 11월 7일
I currently try to translate Simulink file to Typhoon HIL. I have installed simulink converter.The problem arise when i try to convert using convert to tse block it resulting the following response: the system cannot find the path specified. Can you guys help me to figure out where the problem is?

답변 (1개)

Sai Sumanth Korthiwada
Sai Sumanth Korthiwada 2023년 3월 28일
Hi Abdul,
I understand that while converting Simulink file to Typhoon HIL using 'convert to tse’ block, it is resulting the response: 'the system cannot find the path specified'
Please type the command in MATLAB Command prompt:
to see if the file exists. Also, please check if your source filename has proper '/' or '\'.
If the file exists, please check if the destination directory exists:
You might have used 'mkdir' to create the destination folder in a wrong way, and the destination folder may not exist. Please verify the source and destination paths.
Hope this helps!
  댓글 수: 3
Sai Sumanth Korthiwada
Sai Sumanth Korthiwada 2023년 3월 30일
Hi Abdul,
Looking at the error message, there might be a variable which is 'None Type' and used in a for/while loop. Please place breakpoints in the code and use debugger available in the Toolstrip to verify if that variable contains any value (through workspace) when the execution is in that line where the error is encountered.
If it does not resolve your issue, please provide the code, and complete error message for better understanding.
Hope this helps!
MOHAMADAMIN 2023년 11월 7일
I have tried to convert matlab simulink of a rectifire model that has been shown in a following link by HIL company, and I have gotten the same result as "TypeError: 'NoneType' object is not iterable".
Please find the link below regarding the HIL Tutorial about using TSE in matlab, and following thoes link that mentioned in the Tutorial you can download the codes as well.
Really appreciate your assisstance in advance.
I am looking forward to hearing back from you.
The link for Code:
Tutorial Link:

댓글을 달려면 로그인하십시오.


Help CenterFile Exchange에서 String에 대해 자세히 알아보기




Community Treasure Hunt

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

Start Hunting!

Translated by