"Not enough input arguments" in a function, variables are in workspace. Any help please?
Afficher commentaires plus anciens
I couldn't find anything like this on the forum. Sorry, this is basic. The variables are in the woekspace. The code is:
function [Dist, BdBox] = test_DistFnc(P,gd,sf,ns)
C = zeros(10,2);
h = 0;
q=0;
[dl, bt] = decsg(gd,sf,ns); Error using test_DistFnc
Not enough input arguments.
Any help would be greatly appreciated, thanks
2 commentaires
per isakson
le 4 Mai 2013
Which is the relation between the function,
test_DistFnc
and the call
[dl, bt] = decsg(gd,sf,ns);
???
Image Analyst
le 4 Mai 2013
Brian, you forgot to post the entire error message. You just clipped out small, and unfortunately useless, portions of it. Please post everything you see in red text.
Réponse acceptée
Plus de réponses (1)
Catégories
En savoir plus sur Geometry and Mesh dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!