Why do I receive an Unknown Windows exception of type=c000001d when using the Generic DLL interface in MATLAB 7.1 (R14SP3)?

2 ビュー (過去 30 日間)
I have built a custom Generic DLL using a Windows compiler, and when I use it in MATLAB with the LOADLIBRARY and CALLLIB functions:
loadlibrary('myLib','myLib.h')
calllib('myLib','myFunction')
I receive the following Windows error:
Unknown Windows exception of type=c000001d

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
This error can indicate an illegal instruction, such as a Pentium 4 Streaming SIMD Extensions 2 (SSE2) instruction on a Pentium 3. For more information on ensuring compatibility with older processors, consult your compiler documentation.
For example, with Microsoft Visual C++ 2005, these options are controlled by selecting Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation. Ensure that "Enable Enhanced Instruction Set" specifies a standard that is compatible with all processors you expect your library to encounter.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

製品


リリース

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by