Convert python SCPI command to Matlab
조회 수: 10 (최근 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!