How to convert a GUI which contains Instrument Control Toolbox codes to an exe file

2 views (last 30 days)
There is a GUI which use Instrument Control Toolbox language to control a power supplier.It also need to link to a .mdd instrument driver file. The codes are such as: handles.interfaceObj = instrfind('Type', 'visa-usb', 'RsrcName',... 'USB0::2391::2055::n8734a-us13c3218b::0::INSTR', 'Tag', ''); if isempty(handles.interfaceObj) handles.interfaceObj = visa('AGILENT',... 'USB0::2391::2055::n8734a-us13c3218b::0::INSTR'); else fclose(handles.interfaceObj); handles.interfaceObj = handles.interfaceObj(1); end handles.deviceObj = icdevice('agilent_N8700.mdd', handles.interfaceObj); connect(handles.deviceObj); The question is : 1) How can I convert this GUI file to an exe file?! 2) And Can the generated exe file also be possible to be run in the condition which is not installed MATLAB. Thanks a lot :)

Answers (1)

Vinod
Vinod on 4 Sep 2013
You need to use MATLAB Compiler to generate a standalone EXE from your GUI.

Categories

Find more on Interface-Based Instrument Communication in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!