Simulink/Speedgoat error - slrt_make_rtw_hook
조회 수: 24 (최근 30일)
이전 댓글 표시
I wish to run a trivially simple simulink model on the SpeedGoat real time system. However, upon model build, I encounter an error as seen in the picture below.
"the call to slrt_make_rtw_hook, during the exit hook generated the following error: Cannot write to destination : C:\Users\USERNAME\Desktop\test.mldatx. Use the 'f' option to override."
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194019/image.png)
I am running R2017b on a Windows 7 machine.
I have tried updating the kernel using speedgoatkerneltransfer.
slrtpingtarget returns success, and the target properties found in the real-time explorer have been set. The model parameter settings are also shown below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194022/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194023/image.png)
Does anyone have any suggestions to try to get this running?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Diego Kuratli
2023년 1월 27일
I would recommend using MATLAB Projects to avoid such issues and have a proper management of the various files and build folders:
https://www.mathworks.com/help/simulink/project-management.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Real-Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!