MATLAB/Simulink reinforcement-learning code generation output for a DQN simple pendulum controller. The project trained a DQN agent in MATLAB/Simulink, then generated deployable C policy code for embedded targets.
This repository keeps the generated deployment artifacts visible so the controller logic and code-generation output can be inspected directly.
rlSimplePendulumModel.c/.h: generated policy/model entry points and typesrlSimplePendulumModel_data.c: generated parameters/datartGetInf.*,rtGetNaN.*,rt_nonfinite.*: runtime numeric helpersrtwtypes.h,multiword_types.h,builtin_typeid_types.h: generated type support
The checked-in code is the portable C/H output needed to inspect the generated controller logic. Build metadata, object files, MATLAB cache files, binary agent snapshots, and local machine paths are excluded.
MATLAB | Simulink | DQN | Generated C | Embedded Control | Reinforcement Learning