matlab强化学习报错

大家有人知道这个问题是怎么回事吗,matlab报错,要用matlab做强化学习,拿到师兄的代码,跑出来有报错,大家能帮我看看吗

错误使用 rl.representation.rlAbstractRepresentation/representation2function
Representation objects will be removed in a future release. Unable to automatically convert representation object to function object. Use the new function objects such as rlValueFunction, rlDeterministicActorFunction,
rlContinuousGaussianActorFunction, rlDiscreteGaussianActorFunction instead.

img

望采纳!!点击该回答右侧的“采纳”按钮即可采纳!
我猜测在你这个版本的matlab中,representation对象将在未来的版本中删除,不能自动将representation对象转换为function对象。
解决方案:
是将代码中的representation对象替换为新的function对象,并看matlab的最新强化学习工具包使用说明