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

89 次查看(过去 30 天)
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.
-Cam

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.
-Cam

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Android Devices 的更多信息

Community Treasure Hunt

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

Start Hunting!