Info

This question is closed. Reopen it to edit or answer.

how to call a function with multiple input arguments?

1 view (last 30 days)
Nima
Nima on 8 Oct 2013
Closed: Walter Roberson on 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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!