PicoVNA Matlab Interface

Discussions forum for our Sampling Oscilloscopes, VNA, and Pulse Generators
Post Reply
Posts: 0
Joined: Fri Aug 09, 2019 3:25 pm

PicoVNA Matlab Interface

Post by gosler » Fri Aug 09, 2019 3:53 pm

Attempting to remote control PicoVNA with Matlab.

This has been tried using Matlab R2011 and R2014, PC OS is Windows 10

Using the latest version of PicoVNA2 Control (v17), the program ID is not created and attempting to create an object file in matlab fails reporting invalid ProgID. The ProgID does not appear as a software Class name.

Reverting to PicoVNA2 Control (v12), PicoControl2.PicoVNA_2 now appears as a software class name, but creation of an actxserver object still results in the following error.

obj = actxserver('PicoControl2.PicoVNA_2');
Error using feval
Server Creation Failed: Class not registered

Error in actxserver (line 86)
h=feval(['COM.' convertedProgID], 'server', machinename, interface);

Any ideas on why the latest version v17 doesn't register the class name, or why the error above occurs with V12. Is this an issue with Windows 10?

Any pointers appreciated.

Posts: 118
Joined: Tue Jul 18, 2017 8:28 am

Re: PicoVNA Matlab Interface

Post by NeilH » Tue Aug 13, 2019 11:58 am


When you get the error with v12 is the VNA open in the software or in any other instance on the PC?

For v17 there is a bug with the current installer version that doesn't properly register the dll for use, to do this open the CMD as an administrator then navigate to C:\Windows\sysWOW64 then run this command;
regsvr32 PicoControl2.dll
This will then register the dll for use with MATLAB

Technical Support Engineer

Post Reply