The system cannot find path specified error
조회 수: 26 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
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:
exist(source,'file')
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:
[p,f]=fileparts(destination);
exist(p,'dir');
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
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일
Hi,
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: https://github.com/typhoon-hil/model-converter/tree/master/component_libraries/Simulink
Tutorial Link: https://www.youtube.com/watch?v=53Vd1rcddbc
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!