reset
Syntax
Description
          resets the specified MATLAB® environment to an initial state and returns the resulting initial
          observation value.initialObs = reset(env)
Do not use reset for Simulink® environments, which are implicitly reset when running a new simulation.
          Instead, customize the reset behavior using the ResetFcn property of
          the environment.
reset( resets the specified agent.
          Resetting a built-in agent performs the following actions, if applicable.agent)
Empty experience buffer.
Set recurrent neural network states of actor and critic networks to zero.
Reset the states of any noise models used by the agent.
agent = reset( also returns the reset
          agent as an output argument.agent)
          returns the policy object resetPolicy = reset(policy)resetPolicy in which any recurrent neural
          network states are set to zero and any noise model states are set to their initial
          conditions. This syntax has no effect if the policy object does not use a recurrent neural
          network and does not have a noise model with state.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022a