runNoGathering method now supports starting simulations from any directory

parent 382067ed
......@@ -505,8 +505,12 @@ classdef itaRavenProject < handle
delete(obj.ravenLogFile);
end
% system([obj.ravenExe ' "' obj.ravenProjectFile '" >> ' obj.ravenLogFile]);
dos([obj.ravenExe ' "' obj.ravenProjectFile '"'], '-echo');
prevPath = pwd;
cd(fileparts(obj.ravenExe));
dos(['"' obj.ravenExe '"' ' "' obj.ravenProjectFile '"'],'-echo');
disp('Done.');
cd(prevPath);
% restore the initial project name
obj.setProjectName(savedProjectName);
......
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