My .mat code reads the data from NI directly in .tdms form, but I run into errors while running an execuable as execuable is not able to see the correct file path. How do I resolve the issue

Below is the error msg that I get:
Validating data files and channel names.... Error using loadlibrary (line 249) * Deployed applications must use a prototype file instead of a header file. To create the prototype, use the loadlibrary mfilename option. Use the prototype file in compiled code.* See http://www.mathworks.com/help/compiler/matlab-library-loading.html for more information.
Error in get_channel_properties (line 32)
Error in Input_gui>ok_pushbutton_Callback (line 406)
Error in gui_mainfcn (line 95)
Error in Input_gui (line 56)
Error in @(hObject,eventdata)Input_gui('ok_pushbutton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Error writing to output stream.

Answers (0)

This question is closed.

Asked:

on 5 Oct 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!