function setSimulationInactiveControls(obj, state)
  % Set the state of the following menu items based on the expected
  % simulation status:
  % "SaveMenu"
  % "SaveSession"
  % "SaveParametersAndInputs"
  % "LoadMenu"
  % "LoadSession"
  % "LoadParametersAndInputs"
  % "ResetParametersAndInputs"
  % "ConfigureForDeploymentMenu"
  app = obj.App;
  arrayfun(@(menuItem)(set(app.(menuItem),'Enable',state)),obj.SimulationInactiveControls);
end