MATLAB Compiler with EEGLAB and plugins

Hello,
I have been using EEGLAB for some time for preprocessing and analysing EEG data from mobile headsets, I would now like to make use of the Matlab Compiler to produce a standalone executable of my preprocessing script. I have been compiling and installing a program, attempting to run it and finding which functions or variables are missing, then looking through the EEGLAB files to see what needs included. I am currently having difficulty ensuring all the dependencies for eeg_checkset() are covered, below is the error output when I try to load a .set file. The only mention of the undefined options variables I can find within EEGLAB are functions/adminfunc/eeg_options.m, functions/adminfunc/eeg_optionsbackup.m and functions/adminfunc/eeglab_options.m, all of which I have included in the compilation process. This script does run correctly if I use my general Matlab/EEGLAB install, so I'm wondering if anyone has made use of the Matlab Compiler with EEGLAB scripts before or has some insight into some other dependencies I would need to include?
I'm also wondering what the correct way to structure the files and the includes in a package like this where I'm using such a large plugin (EEGLAB) and several plugins for EEGLAB (FASTER, ADJUST, Neuroelectrics toolkit...).
Thanks, Ben

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 30 Jun 2016

Community Treasure Hunt

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

Start Hunting!