Skip to content

Commit

Permalink
LT
Browse files Browse the repository at this point in the history
  • Loading branch information
GHilmarG committed Sep 21, 2024
1 parent f5bff5e commit fe26c92
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions CtrlVarValidityCheck.m
Original file line number Diff line number Diff line change
Expand Up @@ -371,22 +371,25 @@
CtrlVar.TotalTime=CtrlVar.EndTime;
end

if isnan(CtrlVar.StartTime)

fprintf(" The variable CtrlVar.StartTime needs to be defined. Do this in DefineInitialInputs.m \n")
error('Ua:CtrlVarValidityCheck','CtrlVar not valid')
if CtrlVar.TimeDependentRun
if isnan(CtrlVar.StartTime)

end
fprintf(" The variable CtrlVar.StartTime needs to be defined. Do this in DefineInitialInputs.m \n")
error('Ua:CtrlVarValidityCheck','CtrlVar not valid')

if isnan(CtrlVar.EndTime)
end

fprintf(" The variable CtrlVar.EndTime needs to be defined. Do this in DefineInitialInputs.m \n")
error('Ua:CtrlVarValidityCheck','CtrlVar not valid')

end
if isnan(CtrlVar.EndTime)

fprintf(" The variable CtrlVar.EndTime needs to be defined. Do this in DefineInitialInputs.m \n")
error('Ua:CtrlVarValidityCheck','CtrlVar not valid')

end


end



Expand Down

0 comments on commit fe26c92

Please sign in to comment.