How to control a usb spectrometer from a compiled and deployed MATLAB program?

Currently I am controlling an OceanOptics USB spectrometer from a MATLAB program and everything works fine. Now I want to compile this program using MATLAB compiler and deploy it to a production environment. How can I connect the USB drivers to the deployed MATLAB program?

1 Comment

In the meantime I found the solution by myself. It is the same as for the non-deployed version of the program described here: https://oceanoptics.com/faq/controlling-usb-spectrometers-omnidriver-matlab/, the only difference is, that I had to look up the matlabroot under the MATLAB runtime installation folder.

Sign in to comment.

Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Asked:

on 12 Jun 2018

Commented:

on 13 Jun 2018

Community Treasure Hunt

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

Start Hunting!