How can I resolve this issue when I try to get c code from simulink model?

4 views (last 30 days)
Error:Unable to write to Simulink cache file 'E:\Laptop Data\Personal\PHD DATA\UW\PI\MyModel.slxc' because you do not have write permission for the file.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 1 Jun 2024
Re-start MATLAB, delete that .slxc file and try it again. If you can't delete that file, then you have to resolve the folder access right issue first. It has nothing to do with MATLAB.

Categories

Find more on Embedded Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!