Why do I get the "Failure to load the device plug-in" when connecting with android mobile device?

Why do I get the "Failure to load the device plug-in" when connecting with android mobile device?
c = mobiledev('A53 von Ina')
Auf dem Handy ist Matlab Mobiel installiert

Answers (1)

Hello Dina,
To resolve the above issue, try this workaround:
  • Navigate to Environment Variables > System Variables and choose the Edit option for Path.
  • Add C:\Program Files\MATLAB\R2024a\bin\win64 (assuming MATLAB is installed in C:\Program Files\MATLAB\R2024a)
  • Restart MATLAB.
Additionally, ensure that:
  • The MATLAB Support Package for Android Sensors and MATLAB Mobile app is installed.
  • Both the MATLAB desktop application and the MATLAB Mobile app are logged into the same account.
  • In the MATLAB Mobile app, under More > Sensor Access, the setting is switched to 'on'.
For more information on mobiledev function, refer to this documentation: https://www.mathworks.com/help/matlab/ref/mobiledev.html .
For more information on MATLAB Mobile, refer to this documentation:

11 Comments

it still didnt resolve the issue. Any more things i may need to do. I have the trail version
Hello Vishakh,
The workaround I mentioned above worked well for me. It might be possible that the issue you are facing is specific to the environment in use. I suggest reaching out to MathWorks support for help: https://www.mathworks.com/support/contact_us.html .
Same problem. Resolved using path--> C:\Program Files\MATLAB\R2024a\bin\win64
And also updating everything.
Thanks
@Tejas When I first encountered this error, I successfully resolved the issue by adding "C:\Program Files\MATLAB\R2024a\bin\win64" to the system environment variable directory, as suggested in the answer. However, after uninstalling the "MATLAB Support Package for Android Sensors" and reinstalling it, the same error occurred again. Even after re-adding the environment variable, logging in with the same account on both mobile and PC, and enabling all the necessary flags, the error persists!
I am facing the same problem.
>> mobiledevlist
failure to load the converter plug-in
Do you find any solution to this problem.
Thank you for your attention to this issue. I am still struggling with it. The day before yesterday, I contacted MathWorks technical support, and they are helping me resolve the problem. Once I have a solution, I will share it.
Thank you for your reply. I appreciate your efforts in reaching out to MathWorks technical support. I look forward to hearing about the solution once it’s resolved.
Unfortunately, Mathworks technical support was also unable to resolve my issue. Currently, I have found a viable workaround:
  1. Use MATLAB Online.
  2. Utilize the desktop version of MATLAB R2023b or earlier.
Thank you for your reply. I'll then just workaround.
I'm using R2024a it's not working but as you mentioned it's working on MATLAB online as you mentioned.
Is there a way to log the data offline in LAN to MATLAB?

Sign in to comment.

Categories

Find more on MATLAB Mobile in Help Center and File Exchange

Tags

Asked:

on 6 May 2024

Commented:

on 30 Sep 2024

Community Treasure Hunt

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

Start Hunting!