Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to call a function with multiple input arguments?

1 次查看(过去 30 天)
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by