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 Commento

"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:

Accedi per commentare.

Risposte (1)

Jan
Jan il 17 Set 2018
Obviously the code contains a bug. You see the failing line in the error message. Ask the author to fix it.

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 17 Set 2018

Risposto:

Jan
il 17 Set 2018

Community Treasure Hunt

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

Start Hunting!

Translated by