SWITCH expression must be a scalar or string constant.

2 次查看(过去 30 天)
I have tried to install Math Convnet toolbox. I am follwing the instructions in http://www.vlfeat.org/matconvnet/quick/. when i use the comment " run matlab/vl_compilenn", (third comment) i am getting the following error.
SWITCH expression must be a scalar or string constant.
Error in vl_compilenn (line 181) switch opts.imageLibrary
Error in run (line 64) evalin('caller', [script ';']);
Kindly help me. Thanks in advance.
  6 个评论
Tyler Clark
Tyler Clark 2016-9-16
编辑:Tyler Clark 2016-9-16
nothing comes up. Im using MATLAB 2013a could that make a difference?
Image Analyst
Image Analyst 2016-9-16
I don't know. Your best approach is to contact the author of that toolbox.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2016-7-2
That code is only for 64 bit architectures; I suspect you are trying to run it with 32 bit MATLAB.
  2 个评论
Walter Roberson
Walter Roberson 2017-7-3
You would need R2015b or earlier to run the 32 bit version.
However, it appear to me that the current versions of matconvnet should be suitable for 64 bit versions.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by