MATLAB: Mexa64 to mexw64 file extension

.mexw64linuxmexa64mexfilewindows

Hello guys.
Currently, I run a MATLAB program on Windows OS. But in the coding, there's certain part calling for the MEX file, which is in mexa64 file extension. I know that this file extension is specific for Linux, and I suppose use mexw64 file extension. Below are the part that called the MEX file:
% call FMM mex
gmm_params = struct;
if ~isempty(init_mean) && ~isempty(init_var) && ~isempty(init_coef)
codebook = mexGmmTrainSP(single(feats), params.cluster_count, gmm_params, single(init_mean), single(init_var), single(init_coef));
else
codebook = mexGmmTrainSP(single(feats), params.cluster_count, gmm_params);
end
Hence, this uncompatible file for Windows, make error.
So, can anyone suggest for me the best solution for this problem? Is it possible for me to convert the mexa64 to mexw64?
I'm very appreciate if anyone has the solution for this problem. Thank you.

Best Answer

You need to recompile the mex source for Windows (or find a copy where it was already done.)
github plsang gmm-fisher appears to have the source code.
Related Question