How do I create and use a MATLAB Instrument Driver (.mdd) file for use with SEGGER J-Link Pro interface?

I am using the Instrument Control Toolbox in MATLAB to communicate with and control a SEGGER J-Link pro interface. I have installed the appropriate Matlab Instrument drivers for this instrument. I am trying to create a MATLAB Instrument Driver (.mdd) file in order to control the instrument through an interface object.
When using the MAKEMID command to do this, I am getting the following error:
Error using makemid (line 129) The specified driver could not be loaded.

Answers (1)

It doesn't appear that the device in question has an IVI or VXIPnP driver. In this case, you will want to open up MIDEDIT and create your MDD as a generic driver. The MATLAB code in the MDD will use LOADLIBRARY and CALLIB calls into the DLL provided by the device manufacturer. See the documentation on writing a generic driver

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Asked:

on 19 Jul 2016

Commented:

on 3 Jun 2020

Community Treasure Hunt

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

Start Hunting!