Compiled MATLAB error: Undefined function 'ft_datatype_sens' for input arguments of type 'struct'
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!