How can I resolve this issue when I try to get c code from simulink model?
4 views (last 30 days)
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.
0 Comments
Answers (1)
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.
0 Comments
See Also
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!