Unrecognized function or variable 'visadevlist'.

18 views (last 30 days)
Hi everyone,
The ability to use VISA in MATLAB using the visadevlist and visadev functions were added in R2021a. However, when I go to use these functions, they are unrecognized. Do these functions require any toolboxes? The documentation does not seem to list any.
This is the version I am running these on:
MATLAB Version 9.10 (R2021a)

Answers (1)

Cris LaPierre
Cris LaPierre on 16 Apr 2021
Edited: Cris LaPierre on 16 Apr 2021
These functions are part of the Instrument Control Toolbox. You need to have that toolbox installed in order to use these functions. You can check if it is installed using the ver command.
If it is not installed but your iicense includes it, you can use the Add-ons explorer to add it.
When searching the documentation, the left navigation pane can be used to determine what toolbox a function is in.
  2 Comments
Dmitry Isakov
Dmitry Isakov on 15 Jul 2021
I have installed ICT but visadevlist and visadev return the error Unrecognised function or variable 'visadevlist'.
Any solutions for this? Thank you.
Cris LaPierre
Cris LaPierre on 15 Jul 2021
What version of MATLAB are you using? These functions were introduced in R2021a. You must be using that version or newer in order to have access to them.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!