val = getLearnableParameters(rep)
returns the values of the learnable parameters from the reinforcement learning policy or
value function representation rep.
Learnable parameter values for the representation object, returned as a cell array.
You can modify these parameter values and set them in the original agent or a different
agent using the setLearnableParameters function.
getLearnableParameterValues is now getLearnableParameters
Behavior changed in R2020a
getLearnableParameterValues is now
getLearnableParameters. To update your code, change the function name
from getLearnableParameterValues to
getLearnableParameters. The syntaxes are equivalent.