diff --git a/MATLAB/+XPlaneConnect/pauseSim.m b/MATLAB/+XPlaneConnect/pauseSim.m index c15f809..da44b71 100644 --- a/MATLAB/+XPlaneConnect/pauseSim.m +++ b/MATLAB/+XPlaneConnect/pauseSim.m @@ -29,7 +29,7 @@ if ~exist('socket', 'var') end %% Validate input -pause = logical(pause); +pause = int32(pause); %% Send command socket.pauseSim(pause);