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 个评论

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

请先登录,再进行评论。

回答(1 个)

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

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

产品

回答:

Jan
2018-9-17

Community Treasure Hunt

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

Start Hunting!

Translated by