function checkIncompleteSetup(modelObj)
% checkIncompleteSetup - Internal function to perform basic checks for
% completeness of the model setup

%   Copyright 2023 The MathWorks, Inc.

if modelObj.AnalysisType == ""
    error(message('pde:femodel:AnalysisTypeNotSetSolve'));
end

if isempty(modelObj.Geometry)
    error(message('pde:pdeModel:noGeometry'));
end

if isempty(modelObj.Mesh)
    error(message('pde:pdeModel:noMesh'));
end

if isempty(modelObj.MaterialProperties)
    error(message('pde:ElectromagneticModel:noProperties'));
end
end
