Acquire data from Matlab

Just about everything about Red Pitaya
Post Reply
Posts: 1
Joined: Fri Oct 03, 2014 1:52 pm

Acquire data from Matlab

Post by mihai » Fri Oct 03, 2014 2:01 pm


I am trying to generate and acquire data with Matlab with this board and it doesn't work using " dos('plink -l root -pw root “/opt/bin/generate 1 2 500000 sine”');". This is the error "sh: “/opt/bin/generate: not found".
It works on the serial port but I want to do it using the dos command.
Does anybody know how to do this?

Best regards,

Posts: 2
Joined: Thu Oct 09, 2014 1:38 pm

Re: Acquire data from Matlab

Post by Zumi » Thu Oct 09, 2014 1:45 pm


you can try with this..

% If you have plink installed in other location you must enter path to it.
% For example C:/Desktop/plink

command=['C:\plink -l root -pw root "/opt/bin/acquire 16000"'];
data = str2num(data);

U_in_1=((A_response_signal'*2)/16384)' % Voltage signal of U_IN_1


For more information go to: (end of page)


Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 3 guests