MatrixBerryCore
copyfile.m
Go to the documentation of this file.
1 function [isSuccess,msgStr,messageId]=copyfile(srcName,dstName)
2 try
3  mxberry.io.FileUtils.copyFile(srcName,dstName);
4  isSuccess=true;
5  msgStr='';
6  messageId='';
7  %
8 catch meObj
9  if nargout==0
10  rethrow(meObj)
11  else
12  isSuccess=false;
13  msgStr=meObj.message;
14  messageId=meObj.identifier;
15  end
16 end
function copyfile(in srcName, in dstName)
COPYFILE is a simplified version of the built-in function that supports long file paths on Windows (>...