libMatlabDataArray.dll - corrupted somehow?

15 ビュー (過去 30 日間)
Elliott Rachlin
Elliott Rachlin 2018 年 8 月 6 日
コメント済み: Jason Li 2021 年 2 月 27 日
Trying to read MAT file with C program but I am getting stuck in linker with the following problem:
"C:\Elliott\! HPS\HPS Performance Model\MATFILE_Reader\libMatlabDataArray.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x310"

回答 (2 件)

Nagarjuna Manchineni
Nagarjuna Manchineni 2018 年 8 月 9 日
I see that you are referencing the libMatlabDataArray.dll from a custom location rather than using the one that is being shipped with MATLAB.
The recommended way is to use the dll from the installed MATLAB directory rather than copying into a custom location as there might be certain dependent dll's that libMatlabDataArray.dll is dependent on.
See the below MATLAB documentation link for more information on building applications that uses MATLAB Data arrays:

Elliott Rachlin
Elliott Rachlin 2018 年 8 月 9 日
My specific issue is resolved but I could not use the files in the MatLab install directory tree because the program I am writing (to read the MATFILE) must run on machines without MatLab installed.
  1 件のコメント
Jason Li
Jason Li 2021 年 2 月 27 日
How did you solve your problem? I also encountered a similar problem, thank you.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by