MATLAB crashes when using Data Acquisition Toolbox functions with Digilent Analog Discovery hardware support package installed.

조회 수: 6 (최근 30일)
Why does MATLAB crash due to access violation when using Data Acquisition Toolbox functions with Digilent Analog Discovery hardware support package installed.

채택된 답변

MathWorks Data Acquisition Toolbox Team
The crash occurs when both the legacy Data Acquisition Toolbox Support Package for Digilent Analog Discovery hardware (for MATLAB R2012a to R2012b) and the current Data Acquisition Toolbox Support Package for Digilent Analog Discovery Hardware (for MATLAB R2013b and later) are installed. In this situation, MATLAB prioritizes the legacy package becasue it is on top of MATLAB path, causing it to run the old mexdwf.mex64” file instead of the updated one. This old MEX file interacts with the latest Digilent Waveform application, leading to an access violation and crashing MATLAB.
To fix this issue, uninstall the legacy support package from MATLAB’s Manage-AddOns or remove the legacy support package folder from the MATLAB path.
To Uninstall via Manage Add-Ons:
  1. Open MATLAB.
  2. Navigate to Home > Add-Ons > Manage Add-Ons.
  3. Locate the legacy support package for Digilent Analog Discovery and uninstall it.
To Remove from MATLAB Path:
  1. Open MATLAB.
  2. Navigate to Home > Environment > Set Path.
  3. Find the legacy support package directories and remove it from the path.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by