Getting error in a code.
Show older comments
for episode = 1:num_episodes
state = get_current_airfoil_state(XB, YB, Cp_0); % Pass airfoil data to the function
action = agent.getAction(state);
reward = environment.run_simulation(action)
Unable to resolve the name 'agent.getAction'.
Error in OPTI_DRL (line 94)
action = agent.getAction(state);
Accepted Answer
More Answers (0)
Categories
Find more on Reinforcement Learning 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!