Hi, I am trying to run a package named 'chronux' and getting the following error:
??? Invalid MEX-file 'C:\chronux\spikesort\mex\fast_kmeans_step.dll': The
specified procedure could not be found.
.
Error in ==> ss_kmeans at 141 [assignlist, bestdists, clustersizes, centroid] = ...
Error in ==> ss_outliers at 81 spikes = ss_kmeans(spikes, opts);
Error in ==> SpikeSortingDemo at 155 spikes = ss_outliers(spikes);
Can anyone please tell me how can I solve this problem. Thank you very much in anticipation of an early reply.

 採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 7 月 31 日

1 投票

Also, please note that the .dll extension for MEX-files has long been deprecated, and support for these files will be discontinued in a future version of MATLAB. If you have access to the source code, please re-compile it in a newer version of MATLAB. If the DLL was provided to you by someone else, please consider contacting them for a new version. See Running MEX-Files with .DLL File Extensions on Windows 32-bit Platforms for more information.

2 件のコメント

Walter Roberson
Walter Roberson 2011 年 7 月 31 日
Though the error was about the specified "procedure" could not be found, rather than the specified "module". Would the causes be the same?
I notice that the user is trying to work with a .dll file instead of a .mex32. Depending on the version of MATLAB being used, using a mex'd .dll might not be allowed now.
Kaustubha Govind
Kaustubha Govind 2011 年 8 月 1 日
Good catch! The causes of the error may be slightly different, but I think Dependency Walker will still be useful to determine the errant dependency.
Regarding the DLL extension. Yes, thanks for bringing that to my attention. I will edit my answer to add information about that.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by