- On your mobile device, open MATLAB Mobile.
- Go to Sensors → More → Sensor Settings.
- Toggle off Sensor Access for at least 30 seconds.
- Toggle on Sensor Access again.
How to clear mobiledev?
18 ビュー (過去 30 日間)
古いコメントを表示

mobiledev is created when first connectting to the matlab mobile. however, when I disconnect with my matlab mobile and want to start a new connection, I cannot clear the exist mobiledev. what should I do?
0 件のコメント
回答 (3 件)
Elena
2025 年 5 月 15 日
When you disconnect MATLAB Mobile, sometimes the mobiledev object in MATLAB Mobile cannot be cleared with the clear command, and reconnecting may not work as expected.
To work around this issue:
After doing this, you should be able to create a new mobiledev object and reconnect without restarting MATLAB Mobile.
0 件のコメント
Maadhav Akula
2019 年 8 月 13 日
The following command will help you:
clear m;
Hope this helps!
2 件のコメント
Theodore Maruyama
2019 年 10 月 25 日
In my Matlab course, my teacher placed
clear m;
clear mobiledev;
at the end of the data logging.
Gayathri
2025 年 5 月 12 日
If you are creating the "mobiledev" object as follows
m=mobiledev;
then, after using the object for your subsequent operations, use the below command to delete the object.
delete(m);
This will help us to destroy the object and the existing connection.
You can know more about the "delete" function from the below documentation link.
Hope this helps!
0 件のコメント
コミュニティ
その他の回答 遠隔学習コミュニティ
参考
カテゴリ
Help Center および File Exchange で Sensor Data Collection についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!