mercredi 29 novembre 2017

how use rangesearch and if statement

I would like to use this function in a condition if :
[idx, D]=rangesearch(X,Y,0.5)

like : if one idx is not empty, i do my condition

if idx == 1
bla bla...
end

but I have an error because I don't use "==" with cells How to make if statement with this cell ?

Aucun commentaire:

Enregistrer un commentaire