Thanks that works for me. 
It seems I wasn't in the userpath for executing startup.m.
There is one more issue that I am facing with MELODIC. As soon as I input the 4D image in it, it displays an error message. I have attached it below.
PFA

Regards,
Ishi Tandon
B.tech + M.tech - Cognitive & Neuroscience
Amity University, Rajasthan
contact - +918239259846 ; Email- [log in to unmask]



On Mon, Feb 24, 2020 at 4:25 PM paul mccarthy <[log in to unmask]> wrote:
Hi Ishi,

Can you check the contents of your MATLAB path to ensure that startup.m was actually called, and correctly added /use/local/fsl/etc/matlab/  to the path?

Paul

On Feb 22 2020, at 1:43 pm, Ishi Tandon <[log in to unmask]> wrote:
Dear FSL experts,
I am trying to run FSL commands through Matlab (version R2017b). But it seems I can't do that. 
Following the protocol as mentioned. I went to /usr/local/fsl/etc/matlab/call_fsl.m. 
I also set the path in the startup.m file in the matlab directory having the following commands.

% FSL Setup
setenv( 'FSLDIR', '/usr/local/fsl' );
fsldir = getenv('FSLDIR');
fsldirmpath = sprintf('%s/etc/matlab',fsldir);
path(path, fsldirmpath);
clear fsldir fsldirmpath;

It still doesn't works for me. I would be grateful, if you could help me with this. Thanks for your time. 

Regards,
Ishi Tandon
B.tech + M.tech - Cognitive & Neuroscience
Amity University, Rajasthan
contact - +918239259846 ; Email- [log in to unmask]

To unsubscribe from the FSL list, click the following link:


To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1


Mailtrack Sender notified by
Mailtrack 02/24/20, 09:49:13 PM


To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1