C drive access Error in Code generation for embedded controllers

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)

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

Thanks for the quick reply. I am new to matlab. Could u please tell me steps to use cd cmd to change directory.
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.

This question is closed.

Asked:

on 11 Jul 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!