how can i run a function witout facing this error: An array for multiple LHS assignment cannot contain expressions.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
the function is:[spktimes, {nspikes}] = SGfast([dt, nrep], rate, {deadtime, refracparams});
0 comentarios
Respuesta aceptada
cr
el 5 de Oct. de 2013
just remove {} on nspikes.
2 comentarios
cr
el 7 de Oct. de 2013
That could be because of multiple issues. Firstly do you have the function file SGfast.m ? Secondly is the third input in the definition of the function a cell type? You need to check documentation on the function.
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!