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

3 次查看(过去 30 天)
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.

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2024-6-1
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.

类别

Help CenterFile Exchange 中查找有关 Embedded Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by