load simulink environments in reinforcement learning designer -凯发k8网页登录

main content

load simulink environments in reinforcement learning designer

when training an agent using the reinforcement learning designer app, you can create a predefined simulink® environment object from within the app or import a custom simulink environment object from the matlab® workspace.

to create a predefined environment, on the reinforcement learning tab, in the environment section, click new. then, under simulink environments, select one of the predefined environments.

you can select one of several predefined simulink environments.

to use a custom environment, you must first create the environment at the matlab command line and then import the environment into reinforcement learning designer. for more information on creating a simulink environment, see create custom simulink environments.

for training and simulating simulink environments, you must define all variables necessary for running the simulink model in the matlab workspace.

once you create a custom environment using one of the methods described in the preceding section, import the environment into reinforcement learning designer. on the reinforcement learning tab, click import. then, under select environment, select the environment.

the new environment is highlighted in the environments pane.

once you have created or imported an environment, the app adds the environment to the environments pane.

select one of the listed environments, which are available in the matlab workspace.

once you have created an environment, you can create an agent to train in that environment. for more information on creating agent from within reinforcement learning designer, see .

see also

functions

objects

apps

related examples

more about

网站地图