SWITCH expression must be a scalar or string constant.

조회 수: 3 (최근 30일)
jeffin
jeffin 2016년 7월 2일
댓글: Walter Roberson 2017년 7월 3일
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
Mona
Mona 2017년 7월 2일
so how to run that on 32-bit ?
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에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by