Commit 9896339c authored by Mike Cichonski's avatar Mike Cichonski
Browse files

* VERSION: 1.0.3

    * batch/pop_func/pop_batch_edit.m: fixed error messages from clear/new and
      clear/load

    * batch/exec_func/private/mfile_name_gen.m: enabled default mfile name if
      both mfile_name and job_name are empty
parent 10c3708e
2017-08-02 Mike Cichonski <mike.cichonski@gmail.com>
2017-08-09 Mike Cichonski <mike.cichonski@gmail.com>
* VERSION: 1.0.3
* batch/pop_func/pop_batch_edit.m: fixed error messages from clear/new and
clear/load
* batch/exec_func/private/mfile_name_gen.m: enabled default mfile name if
both mfile_name and job_name are empty
2017-08-02 Mike Cichonski <mike.cichonski@gmail.com>
* VERSION: 1.0.2
......
function [ mfile_name ] = mfile_name_gen(mfile_name, datafname, histfname, job_name)
if isempty(job_name) && isempty(mfile_name)
mfile_name = [histfname '_' datafname];
end
% batch_dfn
mfile_name = key_strswap(mfile_name, 'batch_dfn', datafname);
% batch_hfn
......
......@@ -106,6 +106,7 @@ if nargin < 4
{'Style', 'pushbutton','string','Clear/Load', ...
'callback', ...
['fname=get(findobj(gcbf,''tag'',''edt_bcn''),''string'');',...
'if strcmp(fname,''''); return; end;', ...
'if ~iscell(fname);fname={fname};end;', ...
'fpath=get(findobj(gcbf,''tag'',''edt_bcp''),''string'');',...
'batch_config = [];' ...
......@@ -159,7 +160,8 @@ if nargin < 4
'end;']}, ...
{'Style', 'pushbutton','string','Clear/New', ...
'callback', ...
['batch_config = evalin(''base'', ''batch_config'');' ...
['if ~exist(''batch_config'',''var''); batch_config = []; end;', ...
'batch_config = evalin(''base'', ''batch_config'');' ...
'batch_config=init_batch_config;', ...
'global bcp;' ...
'properties=batchconfig2propgrid(batch_config);' ...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment