C code generation for reinforcement learning agent in Simliunk 2019b
조회 수: 1 (최근 30일)
이전 댓글 표시
Yihao Wan
2021년 3월 4일
편집: Emmanouil Tzorakoleftherakis
2021년 3월 11일
Hello, I want to implement the reinforcement learning agent in dSPACE, and current supported version is SIMULINK 2019b. I wondered in which way I could generate the c code in Simulink R2019b with the reinforcement learning agent.
Thank you very much.
댓글 수: 0
채택된 답변
Emmanouil Tzorakoleftherakis
2021년 3월 5일
편집: Emmanouil Tzorakoleftherakis
2021년 3월 11일
I believe C code generation is not supported in 19b (only C++). Even if C++ works for you, that would require building one of the 3p libraries the codegen process links to (either arm-compute or one-dnn) for your target hardware.
I think the easiest path would be to use the new plain C code generation feature that shipped in R2021a, that does not require 3p libraries.
Hope this helps
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!