1. create your function
function download(file_input)
path_root = './';
mkdir(path_root);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% INPUT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% file input
if length(file_input)<1 font="">1>
exit(1);
end
.....
download.m
3. run matlab with the following command
$ matlab -nodesktop -nosplash -r "download('
No comments:
Post a Comment