Test checkout of feature 'Compiler' failed under MATLAB - matlab-compiler

I'm trying to convert my MATLAB program to .exe using MATLAB Version: 8.2.0.701 (R2013b) but I couldn't because my MATLAB license number is unknown I got this error
I don't know how can I solve this problem ?

Related

Can't connect to MariaDB via MATLAB - Invalid MEX File

I am trying to connect to MariaDB using mYm (Mysql wrapper for MATLAB) on MATLAB.
Every time I use mYm to access DB I get an error
Invalid MEX-file 'path\to\DB\MySQL\mYm1.36 64-bit\mym.mexw64': A dynamic link library (DLL) initialization routine failed.
So far what I've understood is that DLL in question i.e. libmysql.dll is not registered.I tried do do that using regsvr32 "path\to\DB\MySQL\mYm1.36 64-bit\libmysql.dll". But that results in following error:
The module path\to\DB\MySQL\mYm1.36 64-bit\libmysql.dll failed to load.
Make sure the binary is stored at specified path or debug it to check for problems with binary or dependent .DLL files.
The specified module could not be found.
I require a solution to fix this error.
I might be wrong in assuming the dll is not registered.

Not able to Extract the ISO file using WinZip

ISO file which was downloaded, when I tried to extract using WinZip 16.0 Pro(9686)- 32 bit I got this problem.
The OS I am using is Win XP - Professional - Version 2002- Service Pack 3
with 4GB RAM
WinZip Encountered problems during this operation with file
G:\Setup\PROJECT\Lenel - OnGuard 2012\OnGuard2012\Supplimental Material Disc\Supp_Mat_Rev13. Please choose one of the following actions.
I pressed View Output
This was the message I got
Error: The system cannot find the path specified.
Cannot create G:\Setup\PROJECT\Lenel - OnGuard 2012\OnGuard2012\Supplimental Material Disc\Supp_Mat_Rev13\Credential Center Device Drivers\Card Scanning Solutions\SigniShell\SDK samples\vb.Net\SigniShell Sample\SigniShell Sample\obj\Release\SigniShell_Sample.FormCustom.resources
Severe Error: File creation failed.
Please guide me to overcome this issue

error installing octcdf-1.1.5

I Have in my Mac:
Octave-3.4.0
Gnuplot 4.2 - that I had to install because I had problems plotting - it wouldn't plot at all.
I need to load a netcdf file, the error that came was:
nc = netcdf('/users/matheuscortezi/Desktop/Pcse005/ocean_avg.nc', 'r')
error: `netcdf' undefined near line 9 column 6
So I think I don't have the netcdf comand installed, and tried installing by typing this on octave:
pkg install -global -forge octcdf
The error message that I receive from that is:
configure: error: in `/var/tmp/oct-t8XcYD/octcdf/src':
configure: error: C compiler cannot create executables
See `config.log' for more details.
the configure script returned the following error: checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... no
error: called from `pkg>configure_make' in file /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m near line 1325, column 9
error: called from:
error: /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m at line 783, column 5
error: /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m at line 354, column 9
I haven't the faintest idea about what I should do. How can I solve this problem with either:
fixing this error, or
installing a netcdf "comand pack" (i don't know the name for that) so I can use netcdf() as in the example given.
Hope I was clear enough.
It seems to me that you installed Octave from the Mac OSX App bundle. That is not recommended at all. You should install from one of the package managers as explained on Octave's wiki. As far as I know, there are 3 options for Mac (see previous link). Just search for one that also has the netcdf package.
Anyway, if you really don't want to install it through a package manager (but seems to me you really should), seems that your problem lies on gcc (the GNU C compiler). do you have it installed at all? Some packages have code in C++ or C and are also dependent on some external libraries.
EDIT using a package manager would have also solved your problem about plotting since it would install gnuplot at same time

Fatal error of using MPI in GPU MapReduce

I get a problem in running example of GPMR (a MapReduce framework). I have successfully compiled the examples contained in the framework. But when I run the examples, I get the following error:
Fatal error in MPI_Comm_rank: Invalid communicator, error stack:
MPI_Comm_rank(106): MPI_Comm_rank(comm=0x8099680, rank=0x97ba5c8) failed
MPI_Comm_rank(64).: Invalid communicator
The commands I issued include "./matmul", "mpiexec -np 2 ./matmul", "mpirun -np 2 ./matmul", where "matmul" is a binary file of a matrix multiply example. and all of them have the same error.
Your answer would be highly appreciated. I am looking forward to your helpful advice.
Regards,
Jay
I've solved the problem by compiling the program via the same mpicxx. Previously, I compiled a lib by ...\bin\mipcxx, while the program via mpicx. That is the problem.

MySQL and MATLAB 64 bit

I'm trying to connect to MySQL using MATLAB R2009b 64 bit and the mysql.cpp file found on the FEX and here. I followed all the steps to compile listed in the second link. After entering the following:
mex -I"C:\mysql\include" -DWIN32 mysql.cpp "C:\mysql\lib\opt\libmySQL.lib"
the mysql.mexw64 file is created in my working directory. However, when I go to test it, I get the following error:
>> mysql('status')
??? Invalid MEX-file 'C:\[path]\mysql.mexw64': C:\[path]\mysql.mexw64 is not a valid Win32 application.
I tried switching out the -DWIN32 with -DWIN64, but that just threw all sorts of errors. Anyone have a suggestion as to why this isn't working?
I'm using MATLAB R2009b 64 bit on Windows 7 64 bit.
libmysql.dll is a 32-bit library. Matlab 64-bit wants mex-files to be compiled in 64-bit mode. Unless you can recompile the library, you won't be able to get the mex-file to work, I'm afraid.