how to call a function with multiple input arguments?

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

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 8 de Oct. de 2013

Cerrada:

el 8 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by