Error creating folder 'C:\Windows\System32\slprj\ert\androidGettingStartedExample\tmwinternal' : ?????
57 views (last 30 days)
Show older comments
how to fix it ? what is mean help please
0 Comments
Answers (3)
Cam Salzberger
on 12 Oct 2017
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 Comments
Kurt Stewart
on 18 Oct 2019
Just change the directory to where your model actually is located
0 Comments
Mahdi Mah
on 20 Jul 2021
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 Comments
Cam Salzberger
on 21 Jul 2021
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
See Also
Categories
Find more on Android Devices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!