Error creating folder 'C:\Windows\System32\slprj\ert\androidGettingStartedExample\tmwinternal' : ?????
显示 更早的评论
回答(3 个)
Cam Salzberger
2017-10-12
1 个投票
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
3 个评论
Jose
2022-6-19
you're a GOD thanks
Dhaval Tailor
2022-12-14
Thank You so much.
Mushrif
2024-11-22
Dea sir can you please explain how to change model path
Kurt Stewart
2019-10-18
0 个投票
Just change the directory to where your model actually is located
Mahdi Mah
2021-7-20
0 个投票
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
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
Mahdi Mah
2021-7-25
ok,I create a new question .
thanks
类别
在 帮助中心 和 File Exchange 中查找有关 建模 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!