Error cannot open output file while building PIL Block
조회 수: 3 (최근 30일)
이전 댓글 표시
I was trying to run a PIL Simulation using Simulink. When deploying my controller subsystem to Arduino everything worked perfectly until it tried to build the PIL block for my controller and i get error [Cannot open output file "E:\Documents\Users\Code\PID0_pbs.mexw64"] and the PIL block can't be build. Can someone help me how to solve this error?
댓글 수: 0
답변 (1개)
Shreeya
2024년 7월 2일
Hey, this error looks like an issue with the permissions of the mex file. Can you try resetting them by allowing both read and write operations. Maybe, using the "clear mex" command and regenerating the mex file with the required permissions can also help. Let me know if this works or if you need more help!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!