SWITCH expression must be a scalar or string constant.

1 vue (au cours des 30 derniers jours)
jeffin
jeffin le 2 Juil 2016
Commenté : Walter Roberson le 3 Juil 2017
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 commentaires
Tyler Clark
Tyler Clark le 16 Sep 2016
Modifié(e) : Tyler Clark le 16 Sep 2016
nothing comes up. Im using MATLAB 2013a could that make a difference?
Image Analyst
Image Analyst le 16 Sep 2016
I don't know. Your best approach is to contact the author of that toolbox.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 2 Juil 2016
That code is only for 64 bit architectures; I suspect you are trying to run it with 32 bit MATLAB.
  2 commentaires
Mona
Mona le 2 Juil 2017
so how to run that on 32-bit ?
Walter Roberson
Walter Roberson le 3 Juil 2017
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Robotics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by