An array for multiple LHS assignment cannot contain expressions
Show older comments
so I am trying to using matlab to control keithley sourcemeter, and I am trying to do a voltage sweep. The function given by the instrument is
[READING]=invoke(OBJ,'performsweepvi',RANGING,SPACING,DIRECTION,SOURCECOMPLIANCE,SOURCEPROTECTION,START,STOP,NUMBEROFPOINTS,SENSERANGE,SPEED,READING)
I put in the necessary value on the right hand side and when I execute it, it responds that An array for multiple LHS assignment cannot contain expressions. So I am not sure what to do. I have removed the bracket and another error shows up where it needs a logical or numerical value.

7 Comments
Walter Roberson
on 30 May 2018
The closest I can see to that function name, performsweepvi, has to do with keithley functions for communicating with Labview VI ?
Jenny
on 30 May 2018
Walter Roberson
on 30 May 2018
What is the model number of the device you are using?
Jenny
on 31 May 2018
Walter Roberson
on 31 May 2018
The Instrument Control Toolbox does not support the Keithley 2400 models.
Jenny
on 31 May 2018
Jenny
on 31 May 2018
Answers (0)
Categories
Find more on DMM 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!