Error creating folder 'C:\Window​s\System32​\slprj\ert​\androidGe​ttingStart​edExample\​tmwinterna​l' : ?????

154 ビュー (過去 30 日間)
dasong tang
dasong tang 2017 年 10 月 12 日
コメント済み: Dhaval Tailor 2022 年 12 月 14 日
how to fix it ? what is mean help please

回答 (3 件)

Cam Salzberger
Cam Salzberger 2017 年 10 月 12 日
Hello Dasong,
When you try to deploy the example model to your Android device, it will create a couple of folders in the current directory to hold the build files. If your current directory is System32, then you are likely getting a permissions denied error because you need administrator permissions to write to that directory.
I would highly recommend changing to a different directory (like your Desktop or Documents\MATLAB) before trying again. I would not recommend giving MATLAB admin privileges and allowing it to write to the System32 directory.
Also, check out the rules MATLAB follows on where it starts on Windows systems, and consider modifying the startup directory.

Kurt Stewart
Kurt Stewart 2019 年 10 月 18 日
Just change the directory to where your model actually is located

Mahdi Mah
Mahdi Mah 2021 年 7 月 20 日
hello,excuse me
my matlab is 2020a
show me errors:
MATLAB System block 'ddd/ Iterator 1/Serial Receive' error occurred when invoking 'getSampleTime' method of 'codertarget.arduinobase.internal.arduino_SerialRead'. The error was thrown from '
'C:\Program Files\Polyspace\R2020a\toolbox\matlab\system\+matlab\+system\SampleTimeSpecification.p' at line 0
Caused by:
The value of 'SampleTime' is invalid. Expected input to be positive
Does anyone know what I should do?
  2 件のコメント
Cam Salzberger
Cam Salzberger 2021 年 7 月 21 日
This seems completely unrelated to this Android question, which is old anyway. You'll be better served by asking a new question. I'd also suggest tagging Polyspace in the products, as that seems to be related.
Mahdi Mah
Mahdi Mah 2021 年 7 月 25 日
ok,I create a new question .



Help Center および File ExchangeAndroid Devices についてさらに検索

Community Treasure Hunt

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

Start Hunting!