Error cannot open output file while building PIL Block

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?

Antworten (1)

Shreeya
Shreeya am 2 Jul. 2024

0 Stimmen

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!

Kategorien

Mehr zu Simulink Supported Hardware finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017b

Gefragt:

am 6 Jun. 2024

Beantwortet:

am 2 Jul. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by