Commit 2cf9ac45 authored by Lukas Aspöck's avatar Lukas Aspöck

added function to move current RPF project to new user defined RPF file.

parent 6342dae6
......@@ -278,6 +278,18 @@ classdef itaRavenProject < handle
obj.deleteResultsInRavenFolder();
end
%------------------------------------------------------------------
function copyProjectToNewRPFFile(obj, newPath)
if (exist(fileparts(newPath),'dir'))
obj.ravenProjectFile = newPath;
obj.rpf_ini.WriteFile(obj.ravenProjectFile);
else
error('itaRavenProject/copyProjectToNewRPFFile: invalid path');
end
end
%------------------------------------------------------------------
function setRavenExe(obj, newRavenExe)
......
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