SWITCH expression scalar or a character vector
Show older comments
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 Comment
Stephen23
on 17 Sep 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:
Answers (1)
Jan
on 17 Sep 2018
0 votes
Obviously the code contains a bug. You see the failing line in the error message. Ask the author to fix it.
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!