As of May 2, 2022 the LabJack forums have been set to read-only.
If you are in need of support, please contact us via one of the methods described on our contact page.
Second, if you are running a 64-bit version of Windows and our older examples (it looks like you are using the older examples), you will need to edit the path to our header file in the LJUD_Functions\ljud_LoadDriver.m file. Change:
Our MATLAB examples use our driver. First make sure you have our Windows software installed.
https://labjack.com/support/software/installers/ud
Second, if you are running a 64-bit version of Windows and our older examples (it looks like you are using the older examples), you will need to edit the path to our header file in the LJUD_Functions\ljud_LoadDriver.m file. Change:
header='C:\progra~1\LabJack\drivers\labjackud.h';
To:
header='C:\Program Files (x86)\LabJack\Drivers\labjackud.h';