An array for multiple LHS assignment cannot contain expressions

2 ビュー (過去 30 日間)
Jenny
Jenny 2018 年 5 月 30 日
コメント済み: Jenny 2018 年 5 月 31 日

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 件のコメント
Jenny
Jenny 2018 年 5 月 31 日
That doesn't make sense because I have been collecting data using matlab for a couple of years. The kusb driver that I use was converted to a plugandplay driver so that matlab could control the instrument.
Jenny
Jenny 2018 年 5 月 31 日
I used makemid function to convert it to ivi driver into a driver that matlab can use to communicate with the keithley.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeInstrument Connection and Communication についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by