Ignore:
Timestamp:
Nov 6, 2025, 7:03:02 PM (4 weeks ago)
Author:
sommeria
Message:

bed-scan updated and many updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/command_launch_matlab.m

    r1179 r1184  
    3636    'matlab -nodisplay -nosplash -nojvm ''' ThreadOption ''' -logfile ''' filelog ''' <<END_MATLAB\n'...%launch the new Matlab session  without display
    3737    'addpath(''' path_uvmat ''');\n'...
    38     'addpath(''' ActionPath ''');\n'];
     38    'current_dir=pwd;\n'... % current working dir
     39    'cd(''' ActionPath ''');\n'...
     40'h_fun=str2func(''' ActionName ''');\n'...% create the function handle for the function ActionName
     41'cd(current_dir);\n'];
     42 %   'addpath(''' ActionPath ''');\n'];
    3943for iprocess=1:numel(inputxml)
    40     cmd=[cmd '' ActionName  '(''' inputxml{iprocess} ''');\n'];
     44%    cmd=[cmd '' ActionName  '(''' inputxml{iprocess} ''');\n'];
     45cmd=[cmd ' h_fun  (''' inputxml{iprocess} ''');\n'];
    4146end
    4247cmd=[cmd  'exit\n' 'END_MATLAB\n'];
Note: See TracChangeset for help on using the changeset viewer.