Convert python SCPI command to Matlab
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Walter Roberson
2017 年 6 月 7 日
Possibly
fprintf(visaObj,'MMEM:STOR:STAT1 ''C:\R_S\INSTR\USER\SPECTRUM''');
参考
カテゴリ
Help Center および File Exchange で Call Python from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!