How do I change a file from .mexw64 to .m?

17 ビュー (過去 30 日間)
Hsiu
Hsiu 2014 年 6 月 18 日
Hi all! I want to add the function pixelIdxlistsn into my pathway, but the function I was given is in the .mexw64 format. I tried to add that in but matlab does not seem to read it. Thus, I tried to change it to .m by just changing the name and that does not work too. What will be a good way for me to add this function? Thank you!

採用された回答

James Tursa
James Tursa 2014 年 6 月 18 日
編集済み: James Tursa 2014 年 6 月 18 日
A .mexw64 file is compiled machine code for a Windows 64-bit setup. So it must be used by a 64-bit MATLAB version running under Windows. To run it, you simply need to place the pixelldxlistsn.mexw64 file into the current directory or into any directory that is on the MATLAB path. You cannot simply change the .mexw64 extension to .m, since .m files are text files with m-code in them (which is NOT what is in a mexw64 file). Mex files are sometimes version specific, so in some cases you may need to run a particular mexw64 file using the same version of MATLAB that it was compiled with. Also, you generally can't de-compile the mexw64 file into an m-file.
  3 件のコメント
Kaustubha Govind
Kaustubha Govind 2014 年 6 月 19 日
No, you will need to get the MEX binary for Mac platforms to be able to run it on a Mac.
Md Abu Talhamainuddin Ansary
Md Abu Talhamainuddin Ansary 2017 年 4 月 23 日
Sir from where I can download pixelldxlistsn.mexw64 file?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAdding custom doc についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by