I'm able to communicate with my Rigol and Keithley instruments using SCPI commands in MATLAB R2022b.
When I try to create a MATLAB driver for my Rigol instruments, using for example:
I get an error message: The specified driver could not be loaded.
Here is a link to the Rigol IVI drives website. In this example, the IVI driver name rgds4k is for the DS4000 scope.
https://www.rigolna.com/download/
However, makemid('kedmm6500') for my Keithley DMM6500 works fine.
When I use the ividriverlist command, ALL of my instruments are listed along with the corresponding IVI-C driver names.
I'm assuming that a MATLAB driver must be created before trying to use ividev? as follows:
dev = ividev("IviScope","myScope","IDQuery",true,"ResetDevice",true)
since I get the following error message: Vendor Driver Error 0xBFFA000B: The path name is invalid.
I've downloaded and installed all of the latest IVI-C drivers from the Rigol website, but I get the same error message when trying to create a MATLAB driver for any of them. I also get a Warning: makemid will be removed in a future release. There is no simple replacement for this.
Any ideas on how to resolve these issue?