Hi Himanshu,

It seems the installation went fine. The problem is that the Octave version installed in you system is too old. Try updating to something newer. I think >=3.8.0 should work fine. Higher than that is probably fine too (current is 4.2.1).

All the best,

Anderson



On 20 April 2017 at 04:38, Himanshu Joshi <[log in to unmask]> wrote:
Dear FSLers,

I am using the following link to install PALM. I have downloaded the latest package palm-alpha105.tar.gz and uncompressed the file to the folder /home/mv/palm.
After opening the file palm I had kept WHICH_TO_RUN=1 and OCTAVEPATH=/usr/bin as default. Because I do not have matlab installed on my system: I attempted to run palm using octave through my octave executable file at /usr/bin/octave.

typing 'octave' in terminal displays:

GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <[log in to unmask]> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

octave:1>
 
And
echo $SHELL displays
/bin/bash

Thus I have modified my .bashrc as

#PALM 15-04-2017
PALM=/home/mv/palm
#. ${PALM}
PATH=${PALM}:${PATH}
export PALM PATH

The path of file palm is thus added the system's $PATH variable,But I am facing the following error if I want to run palm through terminal

parse error near line 38 of file /home/mv/palm/palm.m

  syntax error

>>>     [~,cmdname,~] = fileparts(program_invocation_name());
      ^

error: parse error while reading function file /home/mv/palm/palm.m
parse error near line 38 of file /home/mv/palm/palm.m

  syntax error

>>>     [~,cmdname,~] = fileparts(program_invocation_name());
      ^

error: parse error while reading function file /home/mv/palm/palm.m
error: `palm' undefined near line 0 column 27

Kindly suggest If I have skipped a step somewhere during PALM standalone installation

Thanking you in anticipation
Looking forward to find some suggestion

Regards
--
Himanshu Joshi
M.Tech. Cognitive & Neuroscience.
Ph.D Scholar,
Department of Psychiatry
NIMHANS, Bangalore
Publications