Info

This question is closed. Reopen it to edit or answer.

C drive access Error in Code generation for embedded controllers

1 view (last 30 days)
Hi all, When trying to generate C code for TI C2000 controller, I am getting a c drive access error as attached.I have confirmed that I have access for C drive. Does anybody have idea about this. A quick reply is deeply appreciated. Thank You

Answers (1)

Walter Roberson
Walter Roberson on 11 Jul 2018
MS Windows prevents users from writing into C:\Windows\System32
You should cd to a directory you can write into before you try to generate code.
Or you could force the issue by running MATLAB as Administrator
  2 Comments
Chandana Vishwanatha
Chandana Vishwanatha on 11 Jul 2018
Thanks for the quick reply. I am new to matlab. Could u please tell me steps to use cd cmd to change directory.
Walter Roberson
Walter Roberson on 11 Jul 2018
At the MATLAB prompt, give the command
filebrowser
then use the directory / file list to navigate to a directory that you have write access to.

Community Treasure Hunt

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

Start Hunting!