How to install Surrogate Toolbox 3.0 by Dr. Viana?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Md Alam
el 11 de Nov. de 2016
Respondida: Kun Wang
el 23 de Abr. de 2024
I am trying to Install Surrogate Toolbox 3.0 by Dr. Viana in 64 bit machine with Windows 10. It seems to be very easy, but somehow I am getting the error while installing.
I am getting:
---------------------------------------------------------------------------
What would you like to do? 2
Building with 'Microsoft Visual C++ 2013 Professional (C)'.
MEX completed successfully.
Error using fileparts
Too many output arguments.
Error in srgtsSVMGunnFiles>srgtsCompileSVMGunn (line 101)
[pathstr, name, ext, versn] = fileparts(file_source);
Error in srgtsSVMGunnFiles (line 61)
[file_source filename] = srgtsCompileSVMGunn(srgtsRootDir, interpreter);
Error in srgtsInstall (line 75)
srgtsSVMGunnFiles(srgtsRootDir, hostname, interpreter);
0 comentarios
Respuesta aceptada
Walter Roberson
el 11 de Nov. de 2016
You need to change the code from
[pathstr, name, ext, versn] = fileparts(file_source);
to
versn = '';
[pathstr, name, ext] = fileparts(file_source);
4 comentarios
Adarsh Vasa
el 4 de Mzo. de 2020
Editada: Adarsh Vasa
el 4 de Mzo. de 2020
Once everything is sorted, the command window script should look like this:
+----------------------------------------------+
| SURROGATES Toolbox |
| Working at full speed!!! |
+----------------------------------------------+
Installing SURROGATES Toolbox 3.0
Checking compatibility with your system...
Hostname : COMPUTER (PCWIN64)
Interpreter : MATLAB 9.7 (R2019b)
System is compatible with toolbox.
Creating folder: ../system/MATLAB/IEFM-COMPUTER1/surrogates/svm
Folder ../system/MATLAB/IEFM-COMPUTER1/surrogates/svm already exists.
The SURROGATES toolbox uses the SVM toolbox by Gunn (1997).
The SVM toolbox uses a compiled ("mex") optimizer to fit
the support vector models.
To contiue the installation, you need to choose between:
[1] copying a pre-compiled file (I have tested it with MATLAB 7.0
and OCTAVE 3.2.4); or
[2] compiling the code for your machine (preferable, but may
require you to chose a compiler --- this is the default option).
If you need help, check the documentation.
What would you like to do? 2
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
Creating folder: ../system/MATLAB/IEFM-COMPUTER1/surrogates/gp
Folder ../system/MATLAB/IEFM-COMPUTER1/surrogates/gp already exists.
The SURROGATES toolbox uses the GPML toolbox by Rasmussen and Williams (2007).
The GPML toolbox has a function that computes a matrix of all pairwise squared
distances between two sets of vectors.
To contiue the installation, you need to choose between:
[1] copying a pre-compiled file (I have tested it with MATLAB 7.0
and OCTAVE 3.2.4), or
[2] compiling the code for your machine (preferable, but may
require you to chose a compiler --- this is the default option), or
[3] copying the MATLAB/OCTAVE version of this function.
The compiled versions are potentially faster than the MATLAB/OCTAVE one.
If you need help, check the documentation.
What would you like to do? 2
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
Adding directories to search path...
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/does
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/matlabbooster/does
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/matlabbooster/surrogates/rbnn
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/matlabbooster/surrogates/svm
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/matlabbooster/surrogates/svm/svmgunn
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/sbdo
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/sbdo/criteria
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/sbdo/utils
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/tools
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/gp
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/gp/gpml
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/krg
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/krg/dace
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/prs
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/rbf
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/rbf/rbftlbx
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/shep
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/shep/vtechshepard
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/surrogates/was
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/system
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/system/MATLAB/IEFM-COMPUTER1
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/system/MATLAB/IEFM-COMPUTER1/surrogates/gp/
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/system/MATLAB/IEFM-COMPUTER1/surrogates/svm/
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/tools/conservative
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/tools/gsa
C:\Users\HP\Downloads\SRGTSToolbox\SRGTSToolbox/tools/optm
Saving search path...
Saving system information...
SURROGATES Toolbox 3.0 Release (5) was successfully installed
HAVE A LOT OF FUN!!!
>>
Más respuestas (2)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!