interface PS joystick with matlab

13 vues (au cours des 30 derniers jours)
mohamed samy
mohamed samy le 18 Avr 2015
Hi all,
I am trying to connect PS controller with matlab i tried the code
if true
% code
arduino=serial('PORT_#0002.HUB_#0003','BaudRate',9600);
fopen(arduino);
fprintf('%s\n',fscanf(arduino,'%d'));
end
end
I got error "Open failed: Port: PORT_#0002.HUB_#0003 is not available. No ports are available."
when i write "instrfindall" it's status is closed is it the reason ?! or what ??

Réponses (0)

Catégories

En savoir plus sur Parallel Computing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by