Compiled MATLAB crashes on instrfind

2 ビュー (過去 30 日間)
Paul Nichol
Paul Nichol 2016 年 5 月 26 日
編集済み: Daniele TRIMARCHI 2020 年 7 月 21 日
I am using the serial functions for the com port reads/writes. (MATLAB 2015a), which all work fine. After I compile and run, it crashes on the instrfind command is called, specifically at line 129 in istrfind.m (out1 = com.mathworks.toolbox.instrument.Instrument.getNonLockedObjects;) Is this because the instrument tool kit is not getting packaged with my application? How do I make sure it does? Or is this a bug?

回答 (1 件)

Abhisek Roy
Abhisek Roy 2016 年 5 月 31 日
Hi Paul,
Please have a look at the following External Bug Report -
http://www.mathworks.com/support/bugreports/1218395
It looks like the issue is happening due a bug which has been fixed as of R2015b(6.1) and R2015aSP1(6.0.1). A workaround is mentioned in the above page; please try it. In case you still experience a crash, please create a Service Request at this link. Please share the Crash dump and/or any error message which you might have encountered during the crash. Have a look at the following page which explains how you can locate the Crash dumps -
http://www.mathworks.com/matlabcentral/answers/100816-how-do-i-locate-the-crash-dump-files-generated-by-matlab
Regards, Abhisek
  1 件のコメント
Daniele TRIMARCHI
Daniele TRIMARCHI 2020 年 7 月 21 日
編集済み: Daniele TRIMARCHI 2020 年 7 月 21 日
I am experiencing this problem with Matllab 2020a. I have tried with the suggested workaround (javaclasspath.txt) but with no success.
Is this a regression of version 2020a (and in this case: when has this regression being introduced) or am I doing something wrong..?
Thanks,
Daniele

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

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by