Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to call a function with multiple input arguments?

1 vue (au cours des 30 derniers jours)
Nima
Nima le 8 Oct 2013
Clôturé : Walter Roberson le 8 Oct 2013
i tried to call a function whose input arguments include 3 scalars and 2 vectors: the function is:[spktimes, nspikes] = SGfast([dt, nrep], rate,deadtime,refracparams); the values for inputs are: dt=1e-5; nrep=20; rate=cn_sout; which is a 1*10030 vector deadtime=0.00075; refracparams=[0.5 0.001 0.5 0.0125];
i recieved this error: Error using SGfast Requires two or three input arguments. does it measn that number of input arguments are exceeded?
if yes what should i do since i need all input arguments

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by