Questions about ROS2 code generation in simulink
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I have problems while doing the code generation.
I have a include error, the file is in the same folder, but it couldn't be found.
The error screenshot and the files are in the attachments.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/988420/image.png)
So could you please help me to solve this problem?
Thanks!
Xiaochen
댓글 수: 0
답변 (1개)
Cam Salzberger
2022년 5월 5일
Hello Xiaochen,
I suspect that this issue is cause dby Windows' file path length limitations. File paths cannot be longer than 260 characters. When generating and building code in a folder that already has a long-ish file path, it's easy to run up against that limit with the auto-generated folders and filenames.
-Cam
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!