Unable to write to Simulink cache file 'C:\modelname.slxc' because you do not have write permission for the file.
89 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
Walter Roberson
el 9 de Jul. de 2023
Movida: Walter Roberson
el 10 de Jul. de 2023
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 comentarios
Adeel
el 1 de Jun. de 2024
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 comentarios
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!