How to export trained RL agent to TwinCat machine learning inference

조회 수: 2 (최근 30일)
Hi
I trained a agent using reinforcement learning in MATLAB. I wish to deploy this to real hardware.
I am new to deploying trained agents and do not have clue here.
I plan to use Beckhoff IPC system.
Can you please guide me on this.
It is okay if it can be done without Beckhoff IPC.
Thanks in advance.
Chetan

채택된 답변

Dimitri MANKOV
Dimitri MANKOV 2022년 12월 1일
Hi Chetan,
In case you'd like to deploy your algorithm on a real-time target machine that specifically uses Simulink Real-Time in R2021a, you will need Speedgoat hardware. Amongst other protocols, Speedgoat offer EtherCAT Master / Slave modules to exchange data with external devices.
If you don't plan to use Simulink Real-Time, you will need to find hardware compatible with the toolchain that your project will be based on.
I hope this is helpful!
Dimitri
  댓글 수: 1
yu ZHANG
yu ZHANG 2022년 12월 6일
Hi
Can i use rl_agent to generate HDL coder?
i meet some error.but i cant write this block;

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by