Skip to content
Snippets Groups Projects
Commit 714a3436 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

OAR: fixed global DB variable in gtForwardSimulate


Signed-off-by: default avatarNicola Vigano <nicola.vigano@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@642 4c865b51-4357-4376-afb4-474e03ccb993
parent 98f689dc
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,11 @@ function out = gtForwardSimulate_v2(first, last, workingdirectory, phaseID, vara ...@@ -36,6 +36,11 @@ function out = gtForwardSimulate_v2(first, last, workingdirectory, phaseID, vara
% SUB-FUNCTIONS: % SUB-FUNCTIONS:
%[sub]- sfGetRoi %[sub]- sfGetRoi
if isdeployed
global GT_DB
global GT_MATLAB_HOME
load('workspaceGlobal.mat');
end
cd(workingdirectory); cd(workingdirectory);
gtDBConnect(); gtDBConnect();
...@@ -57,9 +62,6 @@ if ~exist('phaseID','var') || isempty(phaseID) ...@@ -57,9 +62,6 @@ if ~exist('phaseID','var') || isempty(phaseID)
end end
if isdeployed if isdeployed
global GT_DB
global GT_MATLAB_HOME
load('workspaceGlobal.mat');
first = str2double(first); first = str2double(first);
last = str2double(last); last = str2double(last);
phaseID = str2double(phaseID); phaseID = str2double(phaseID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment