Index exceeds matrix dimensions for Vol3d.m

Hi
I am trying to use the magnificent vol3d v2 function by Oliver Woodford , see (https://uk.mathworks.com/matlabcentral/fileexchange/22940-vol3d-v2).
I get the error "Index exceeds matrix dimensions" at lines 145,115 of the code respectively. Any idea of why this happening?
Thanks

Answers (1)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!