diff --git a/+misc/Gains.m b/+misc/Gains.m index 19bc477700704a9e7d5198404e1b0718b764dbc5..d3b2f0f0fbccc5e2b47c986647339e4e7482bc23 100644 --- a/+misc/Gains.m +++ b/+misc/Gains.m @@ -425,11 +425,16 @@ classdef Gains < handle & matlab.mixin.Copyable arguments obj; - outputType; + outputType = ""; inputName = obj.inputType; leftHandSide = "none"; end % arguments + if strlength(outputType) == 0 + texString = outputType; + return; + end + % put string together if isnumeric(leftHandSide) if isscalar(leftHandSide) && obj.lengthOutput > 1