MATLAB: Unable to resolve the name results.NodalSolution.

nodalsolutionPartial Differential Equation Toolbox

I am using R2020b. While solving a PDE with myufunction for updating the boundary condition at each iteration, I keep getting the error message 'Unable to resolve the name results.NodalSolution'. Any help is welcome.

Best Answer

You have a typo. It should be u=result.NodalSolution; not u=results.NodalSolution;
Regards,
Ravi