validateEnvironment
Syntax
Description
validateEnvironment(
validates a
reinforcement learning environment. This function is useful when:env
)
You are using a custom environment for which you supplied your own step and reset functions, such as an environment created using
rlCreateEnvTemplate
.You are using an environment you created from a Simulink® model using
rlSimulinkEnv
.
validateEnvironment
resets the environment, generates an initial
observation and action, and simulates the environment for one or two steps (see Algorithms). If there are no errors
during these operations, validation is successful, and
validateEnvironment
returns no result. If errors occur, these errors
appear in the MATLAB® command window. Use the errors to determine what to change in your observation
specification, action specification, custom functions, or Simulink model.
Examples
Input Arguments
Algorithms
Version History
Introduced in R2019a