convertToScalarEnv
R2026bDescription
converts the vectorized environment env = convertToScalarEnv(venv)venv into a scalar environment
env. This is useful for operations that do not support vectorized
environments (such as the runEpisode function
or some agents).
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b
See Also
Functions
rlFunctionVectorEnv|rlFunctionEnv|rlPredefinedEnv|validateEnvironment|getObservationInfo|getActionInfo|train|sim|rollout