Convert python SCPI command to Matlab
15 views (last 30 days)
Show older comments
Hi All, I'm trying to convert the followng Python SCPI command to Matlab:
MMEM:LOAD:IQ:STAT 1, 'C:\R_S\Instr\user\data.iq.tar'
The problem is Matlab syntax already has quotes, so I have removed them:
fprintf(visaObj,'MMEM:STOR:STAT1 C:\R_S\INSTR\USER\SPECTRUM');
But it doesn't work. Any input would be much appreciated.
0 Comments
Answers (1)
Walter Roberson
on 7 Jun 2017
Possibly
fprintf(visaObj,'MMEM:STOR:STAT1 ''C:\R_S\INSTR\USER\SPECTRUM''');
See Also
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!