Installing/Using toolbox (lightspeed)

2 views (last 30 days)
Javier
Javier on 6 May 2014
Commented: xilu tian on 26 Dec 2015
I am trying to use the lightspeed toolbox for Matlab, but it is the first time I download a toolbox and I don't know if it is properly installed.
First, I downloaded and installed Microsoft Visual C++ 2010 Express and used it to install the toolbox using mex -setup and then typing install_lightspeed. I do not received an error message, but Matlab said that: "Creating library random.lib and object random.exp lightspeed's matfile utility is not supported for this version of Matlab" I would like to know what this message means. Is it like a warning message for some functions or I was not able to install the program at all?
Then, once installed, I do not know how to use the toolbox once installed. It is supposed to replace some functions of matlab such as repmat, to make them more efficient. Do I need to do something else for the program to work? Will Matlab use the new function everytime I use repmat when the program is installed? Or do I need to specify it somehow?
I would really appreciate your help with this!
Note: If I enter test_lightspeed in Matlab, I get the following error message: Subscript indices must either be real positive integers or logicals.
Error in test_digamma (line 13)
for i = 1:rows(x)
Error in test_lightspeed (line 2)
test_digamma
  1 Comment
xilu tian
xilu tian on 26 Dec 2015
What's the version of you matlab,I using matlab2014a also facing the same problem,such as: >> install_lightspeed Compiling lightspeed 2.7 mex files... Using the lapack library at C:\Program Files\MATLAB\R2014a\extern\lib\win64\Microsoft\libmwlapack.lib mex -largeArrayDims -silent -DBLAS64 solve_triu.c "C:\Program Files\MATLAB\R2014a\extern\lib\win64\Microsoft\libmwlapack.lib" "C:\Program Files\MATLAB\R2014a\extern\lib\win64\Microsoft\libmwblas.lib" install_random.bat "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\..\" x86_amd64 用于 x64 的 Microsoft (R) C/C++ 优化编译器 18.00.21005.1 版 版权所有(C) Microsoft Corporation。 保留所有权利。
random.c Microsoft (R) Incremental Linker Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved.
正在创建库 random.lib 和对象 random.exp
lightspeed's matfile utility is not supported for this version of Matlab
Done.
Type "test_lightspeed" to verify the installation.
>> test_lightspeed
Starting tests...
错误使用 test_digamma (line 18)
digamma(-0.5) = 0.03649 should be 0.03649
出错 test_lightspeed (line 2) test_digamma So,I supposed that the lightspeed2.7 don't supported for Matlab2014a,and The Lightspeed Matlab toolbox version 2.7 by Tom Minka says that Changes for 2.7 are Added the hist2 function. Updated the installer to handle Matlab versions up to R2014b. In version R2014a and later, installation on Mac is now much easier. In version R2013b and later, lightspeed does not replace Matlab's built-in repmat, because the built-in is now faster. Congratulations to MathWorks---it only took them 11 years to catch up with lightspeed's repmat. Perhaps now they can try making sum(x,2) run as fast as lightspeed's row_sum. All above says that it shoud be support for matlab 2014a,what is the reason of this error? It's really confuse me,Waitting some awesome people to answer the question, I would really appreciate your help with this!

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!