SWITCH expression scalar or a character vector

Dear colleagues, I am using a software called "lead-dbs" that works through Matlab. When I try to run a calculation in the "lead-dbs" the following message appears: SWITCH expression must be a scalar or a character vector How can fix this? What is SWITCH in Matlab? As I am not an expert in Matlab, if anyone could in a simple way help me.... Many thanks Rubens Cury

1 comentario

Stephen23
Stephen23 el 17 de Sept. de 2018
"What is SWITCH in Matlab?"
This is the very first result that was returned when I searched for "MATLAB switch" using a major internet search engine:

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 17 de Sept. de 2018

0 votos

Obviously the code contains a bug. You see the failing line in the error message. Ask the author to fix it.

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 17 de Sept. de 2018

Respondida:

Jan
el 17 de Sept. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by