get the error "For deep learning, the simulation target language must be set to C++" while running the evaluatePolicy function automatically generated by Matlab
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nicolas CRETIN
el 6 de Mayo de 2024
Respondida: Nicolas CRETIN
el 13 de Mayo de 2024
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
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!