The system cannot find path specified error

17 次查看(过去 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?

回答(1 个)

Sai Sumanth Korthiwada
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
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
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by