#76: Simulink Gym
Status: Reject
Tag: suggestion
Assignees: Johannes Brust

Currently, the/a Matlab engine is started in Environment.__init__(...). After its start the necessary directories are added to the Matlab path.

This possibly could already be done in __init__.py of the simulink_gym package.

Created by Johannes Brust Sep 22, 2022, Edited Sep 22, 2022

Probably not a good idea, if you only want to use parts of the package without ever simulating in Matlab. Also not necessary if in model debug mode.

But it should be possible to reuse a Matlab instance to avoid the time intensive restart.

Johannes Brust, Oct 8, 2022

Once the environment is created (which includes the start of a Matlab instance) and initially reset (which takes some time) every subsequent reset is significantly faster.

Johannes Brust, Oct 11, 2022