Hello Leo,
You are getting mentioned errors because these functions were introduced in later releases of MATLAB.
head -> R2016b
movevars & addvars-> R2018a
I think you need to update MATLAB to use these functions.
Thanks,
Deepak
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!