MATLAB Answers

How to open .mexw64 file with Matlab?

435 views (last 30 days)
Keke Zu
Keke Zu on 11 Jul 2018
Edited: antlhem on 31 Jul 2020
Hi, I would like to know how to open .mexw64 file with Matlab?
mahdi on 9 Jun 2020
Hey Jan
I have a problem with 'mex' file and would like to open it to fix if possible! .. Ill apperciate you if give me a tip ....
I donwlod mexcgns/cgns4m files from after Run you will see :
MEX completed successfully.
Invalid MEX-file
Missing symbol 'H5P_CLS_FILE_ACCESS_ID_g' in 'C:\Program
Files\MATLAB\R2018b/bin/win64\hdf5.dll' required by

Sign in to comment.

Answers (2)

Jan on 11 Jul 2018
You do not "open" such a file, because it is a compiled function. You call it exactly as any other Matlab function.
Why do you want to "open" the file?
Jan on 12 Jul 2018
This means, that you are working with codegen and do not write the C-Mex function manually.

Sign in to comment.

Maria on 31 Jul 2020
Edited: Maria on 31 Jul 2020
maybe I can help you, because I came across this post when looking for "how to open a mex file". Now I understood that is a compiled function (thanks Jan), but I still wanted to double check the underslying .m file where this function was created from.
My mex file was created by using the Matlab coder. I created it from a .m file. Matlab generated automatically a folder named "codegen", and inside this there is a folder named "mex". In this folder, I can find the folder that has the same name as my original Matlab file. Inside this folder, I see the "html" folder and there, finally, I find the report.mldatx. In this report, I can double-check the original .m function associated to the compiled mex file.
Hope this helps!
  1 Comment
antlhem on 31 Jul 2020
Hi Maria, in the following link you can see how I organised my files in order to use a mex file function. I hope this contributes as well.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!

Translated by