Not enough input arguments.

2 views (last 30 days)
Joe Joe
Joe Joe on 10 Aug 2017
Edited: KSSV on 10 Aug 2017
Hi everyone, I'm a beginner of Matlab user. I have a problem for carving a dinosaur demo. This is ">> voxels = makevoxels(85) Error using spacecarving.makevoxels (line 12) Not enough input arguments." Please help me how to resolve this problem. Thanks.

Accepted Answer

KSSV
KSSV on 10 Aug 2017
Edited: KSSV on 10 Aug 2017
You are not providing all the inputs..you need to call the function like below:
xlim = [0 1] ;
ylim = [0 1] ;
zlim = [0 1] ;
N = 100 ;
voxels = findpeak(xlim,ylim,zlim,N) ;
You need to provide xlim, ylim, zlim which are 1x2 arrays and a number N.
  1 Comment
Joe Joe
Joe Joe on 10 Aug 2017
Thank you KSSV. Your answer is very helpful for me.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!