[FieldTrip] You can only call nargin/nargout from within a MATLAB function.

Abdallah Qusaibe abdallah.qusaibe at gmail.com
Thu Jul 2 14:02:15 CEST 2020


Hello

Can you please help me in solving this error?

>> cfg=[];
cfg.method = 'openmeeg';
vol = ft_prepare_headmodel(cfg, vol);










*Error using narginYou can only call nargin/nargout from within a MATLAB
function.Error in ft_preamble_init (line 34)if nargin==0Error in
ft_preamble (line 56)    evalin('caller', ['ft_preamble_' cmd]);Error in
ft_prepare_headmodel (line 144)ft_preamble init*

*Best regards*
*AQ*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200702/43211904/attachment.htm>


More information about the fieldtrip mailing list