Clear Filters
Clear Filters

Codegen respond with an error: "??Expected a character vector. "

18 views (last 30 days)
When I use my training results of DDPG model to generate GPU code, there always respond an error. I followed the instruction "Deploy Trained Reinforcement Learning Policies" from help document, and it runs well in other exmples. Here is error report:
And return code:
>>codegen('-config','cfg','evaluatePolicy','-args',argstr,'-report');
??? Expected a character vector.
Code generation failed: View Error Report
Incorrect use of codegen
  7 Comments
XingZhou Mu
XingZhou Mu on 14 Apr 2024
Hello, did you solve this problem, I am also having the same problem
Jie Li
Jie Li on 9 May 2024 at 9:07
竟然是中文路径的问题!改成英文路径就OK了

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning with GPU Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!