<div dir="ltr"><div>dear list,<br>
<br>
I'm trying to analyse <span class="">CTF</span> MEG data through the Flemish Supercomputer Centre,<br>I did a matlab script to run the foremost FT functions in my pipeline (ft_read_event, read_ctf_cls, and ft_preprocessing). This script works well when I run it locally. To compile my function in the supercomputing cluster I initially used addpath to include FT and ft_defaults to set the configuration inside my script, but this wasn't working. I tried using a startup.m script but this doesn't work neither. Maybe I'm missing something? My bash script to compile looks like this:<br><br>#!/bin/bash<br>module load MATLAB/2013b<br>FTDIR=$VSC_DATA_VO_USER/fieldtrip-20160317<br>mcc -mv FT_0.m<br><br>I also tried mcc -mv FT_0.m -I $FTDIR<br>I run my compilation in the same folder where I have the FT folder.<br>When I run my bash job I get always the same error: Undefined function 'ft_read_event' for input arguments of type 'char'.<br><br></div>I've been looking elsewhere but still I haven't find a solution,<br><div><br>Any hints about this would really appreciated,<br>best,<br>Jose<br></div></div>