From 3203430cb0a42bd7e72f1c03ccf15abdad397b13 Mon Sep 17 00:00:00 2001 From: Nikhar Abbas Date: Tue, 21 Jul 2020 14:18:07 -0600 Subject: [PATCH] formatting --- Matlab_Toolbox/runFAST.m | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Matlab_Toolbox/runFAST.m b/Matlab_Toolbox/runFAST.m index 35825952d..5f1e93442 100644 --- a/Matlab_Toolbox/runFAST.m +++ b/Matlab_Toolbox/runFAST.m @@ -20,10 +20,7 @@ [ControlScriptPath,ControScript] = fileparts(simu.ParamScript); addpath(ControlScriptPath); - -addpath(fast.FAST_SFuncDir) - -warning off all +addpath(fast.FAST_SFuncDir); %% Read FAST Files & Load ROSCO Params from DISCON.IN @@ -57,7 +54,7 @@ SimulinkModel = simu.SimModel; -Out = sim(SimulinkModel, 'StopTime',num2str(GetFASTPar(Param.FP,'TMax'))); +Out = sim(SimulinkModel, 'StopTime', num2str(simu.TMax)); sigsOut = get(Out,'sigsOut'); %internal control signals %% Get OutData