get the error "For deep learning, the simulation target language must be set to C++" while running the evaluatePolicy function automatically generated by Matlab
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello everyone!
I trained a RL agent (PPO actor-critic agent), then I generated the evaluatePolicy() function with the generatePolicyFunction() function of MATLAB. Then, I wanted to run it into simulink as shown in the image below:

But I get this error:

Here is the content of my MatlabFunction block:

Does anyone know what I did wrong?
Best regards,
Nicolas
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!