How can I resolve this issue when I try to get c code from simulink model?
Show older comments
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
on 1 Jun 2024
0 votes
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 Simulink 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!