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

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.

이 질문은 마감되었습니다.

질문:

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