MATLAB Answers


This question is closed. Reopen it to edit or answer.

Why do I get a 'Subscript indices must either be real positive integers or logicals' error when I try to read the waveform data from my oscilloscope using the Instrument Control Toolbox?

1 view (last 30 days)
Sam Lowe
Sam Lowe on 14 Dec 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
I have set up a connection with my PC and my oscilloscope using the Instrument Control Toolbox. However, when I try to use the 'readwaveform' function to get the output of my oscilloscope, I get the error as stated in the title. What does this mean in the context of trying to get the waveform data?
Sam Lowe
Sam Lowe on 19 Dec 2016
I understand what the error means with regards to a data array as you have described. What I am wondering is why I am getting this response from Instrument Control Toolbox and how do I get around it?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!