Compiled MATLAB error: Undefined function 'ft_datatype_sens' for input arguments of type 'struct'
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on File Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!