How can i change the path for C:\ProgramData\MATLAB\SupportPackages\R2017a\3P.instrset\ev3javahidapi.instrset\javahidapi\hidapi-1.1.jar to my D:\ProgramData\MATLAB\...?
Afficher commentaires plus anciens
I'm working with EV3 Support Package with Simulink. When I'm doing: h = legoev3('usb') this shows
Warning: Invalid file or directory 'C:\ProgramData\MATLAB\SupportPackages\R2017a\3P.instrset\ev3javahidapi.instrset\javahidapi\hidapi-1.1.jar'.
> In javaclasspath>local_validate_dynamic_path (line 271)
In javaclasspath>local_javapath (line 187)
In javaclasspath (line 124)
In javaaddpath (line 71)
In realtime.internal.addEV3JavaPath (line 17)
In realtime.internal.CommUSB (line 20)
In legoev3 (line 304)
Error using legoev3 (line 307)
Failed to connect to EV3 through USB. Please check your USB connection.
I know it is not the connection with the EV3, but it is a path error with the folder and I need to change it to my 'D' drive. I have already change the path for this:
>> realtime.internal.getEV3IORoot
ans = 'D:\ProgramData\MATLAB\SupportPackages\R2017a\toolbox\realtime\targets\ev3io'
>> matlabshared.supportpkg.getSupportPackageRoot
ans = 'D:\ProgramData\MATLAB\SupportPackages\R2017a'
But everytime I run h=legoev3('usb') seems like it didn't change and looks in the C: drive folder.
Also I change the Environment Variable - Path.
From: C:\ProgramData\MATLAB\SupportPackages\R2017a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\bin
To: D:\ProgramData\MATLAB\SupportPackages\R2017a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\bin
I know that i might move all to the C drive but i do not have enough memory so i need to work in D drive.
Anyone know how to solve this error with paths?
2 commentaires
Alejandro Salgado
le 5 Déc 2017
Modifié(e) : Alejandro Salgado
le 5 Déc 2017
Walter Roberson
le 5 Déc 2017
Réponses (1)
Cenk M. Yetis
le 3 Déc 2021
0 votes
Any answer to this important question? We would like to install Matlab on SSD and keep everything on SSD.
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!