function hasNoInterpData = noInterpDataType(inputPortInfo, modelH)
% Takes model handle, and inputPortInfo(of type
% SldvData.AnalysisInfo.InputPortInfo), and checks if the data-type of the
% inport is interpolatable.
% Returns true if the input port has no interpolatable datatype
hasNoInterpData = false;
if ~iscell(inputPortInfo)
    hasNoInterpData = sldvshareprivate('util_is_fxp_type', inputPortInfo.DataType, modelH) || ...
        strcmp(inputPortInfo.DataType,'double') || ...
        strcmp(inputPortInfo.DataType,'single') || ...
        sldvshareprivate('util_is_enum_type', inputPortInfo.DataType);
else
    % Bus signals.
    for i=2:length(inputPortInfo)
        if sldvshareprivate('noInterpDataType', inputPortInfo{i}, modelH)
            hasNoInterpData = true;
            break;
        end
    end
end
end