Unable to write to Simulink cache file 'C:\modelname.slxc' because you do not have write permission for the file.
52 ビュー (過去 30 日間)
古いコメントを表示
when I am trying to generate c code from my model, I encounter this error, how to resolve this?
Unable to write to Simulink cache file 'C:\modelname.slxc' because you do not have write permission for the file.
2 件のコメント
回答 (2 件)
Walter Roberson
2023 年 7 月 9 日
移動済み: Walter Roberson
2023 年 7 月 10 日
I mean C:\ itself not somewhere inside of the C drive.
You would get this error if your current directory is C:\ itself. Your current directory needs to a directory that you have write access to.
5 件のコメント
Adeel
2024 年 6 月 1 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
