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

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 7 月 11 日

0 投票

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 件のコメント

Chandana Vishwanatha
Chandana Vishwanatha 2018 年 7 月 11 日
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 2018 年 7 月 11 日
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.

この質問は閉じられています。

質問済み:

2018 年 7 月 11 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by