function name = getUnknownVariableNameFromConstEquation(state, equation) for namei = equation.variableNames(1:end-1) if ~isfield(state, namei) name = namei ; end end end