Compiled MATLAB error: Undefined function 'ft_datatype_sens' for input arguments of type 'struct'
Ältere Kommentare anzeigen
I have a MATLAB program written by one of my users which makes use of the SPM8 toolbox. If run directly, it works fine. However, when compiled and then run, the following error occurs:
Undefined function 'ft_datatype_sens' for input arguments of type 'struct'
This function comes from the Fieldtrip toolbox, which is bundled with the SPM8 toolbox. The startup.m contains the following:
if(isdeployed==false)
addpath(genpath('/cm/shared/apps/matlab/spm/08'))
spm('defaults', 'eeg')
spm_get_defaults('cmdline',true)
disp('SPM path is set')
end
Not being a MATLAB user myself, I am groping in the dark, but my assumption is that the Fieldtrip toolbox is not being found.
Can anyone shed any light on this?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu File Operations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!