MATLAB graphical interfaces

Applications, development tools, FPGA, C, WEB
Post Reply
WouterS
Posts: 14
Joined: Wed Feb 18, 2015 9:58 am
Location: Merseburg/Diepenbeek

MATLAB graphical interfaces

Post by WouterS » Mon Mar 23, 2015 4:11 pm

Hi everyone

I was trying to get connected to the new 'MATLAB graphical interfaces' but when i wanted to get connected to my red pitaya i kept getting the notificiation "hardware not found (PING)" . So i looked into the .m file and i think it is because the following command line

command=['ping -t 1 -c 1 ',IP];

[ping_status, ping_message] = system(command);
if (ping_status ~= 0)
errordlg('Hardware not found (PING)');
disp('Hardware not found (PING)');
ping_message

When i run this 'ping -t1 c1 IP' in cmd, got the message "ping_message = Bad option -C."
Is there a way to get around this? :D

Thanks in advance

Wouter

WouterS
Posts: 14
Joined: Wed Feb 18, 2015 9:58 am
Location: Merseburg/Diepenbeek

Re: MATLAB graphical interfaces

Post by WouterS » Mon Mar 23, 2015 5:25 pm

Well it works if you just use command='ping ip' but why do you use t & C then?

User avatar
redpitaya
Site Admin
Posts: 883
Joined: Wed Mar 26, 2014 7:04 pm

Re: MATLAB graphical interfaces

Post by redpitaya » Mon Mar 23, 2015 6:16 pm

Hi,

Have you started “scpi-server” on RP before Matlab signal generator.

If not: Connect to your RP with ssh and use this command.

scpi-server &

After that you can close the terminal and go to the matlab GUI, input IP and connect to your RP.
You are welcome to give as a feedback on Matlab Signal Generator.


Regards

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 30 guests