How to solve this issue with "libmat.dll'?

조회 수: 83 (최근 30일)
Tony Castillo
Tony Castillo 2021년 3월 4일
답변: Shubham Khatri 2021년 5월 7일
Hi all,
I compiled a simulink model using the function "rtwbuild('Name of simulink model')" but when have attempted to execute the ".exe" it gives me this message of error.

채택된 답변

Shubham Khatri
Shubham Khatri 2021년 5월 7일
Hello,
This error may occur because a copy of the DLL in question resides somewhere on the system that is getting loaded before the expected version of of the DLL located in the MCR runtime directories.
To resolve this issue, make sure to remove any extra copies of the offending DLL files located on the machine.
  1. The DLL is located in MATLABROOT/bin/win32. Add this location to the system environmental variable "Path".
  2. This error may also indicate that the file "libmx.dll" is missing from your MATLAB installation directory. This can occur if certain antivirus software is installed and it quarantines the file. To resolve the issue, open the antivirus software and restore the quarantined file "libmx.dll".

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by