Clear Filters
Clear Filters

Why does Matlab crash when selecting specific actxcontrols in guide?

2 views (last 30 days)
In GUIDE, when adding an ActiveX control element to the canvas, a list of available controls pops up. 
When going through the list with the arrow keys, MATLAB crashes reproducibly for several different entries.
Top lines from stack trace 
[  0] 0x000000000c520fe0                                   <unknown-module>+00000000
[  1] 0x00000000776a9bd1                     C:\windows\system32\USER32.dll+00105425 TranslateMessageEx+00000673
[  2] 0x00000000776a6aa8                     C:\windows\system32\USER32.dll+00092840 SetTimer+00000376
[  3] 0x00000000776a6bad                     C:\windows\system32\USER32.dll+00093101 SendMessageW+00000093
[  4] 0x00000000634451c3 C:\Program Files\MATLAB\R2014a\bin\win64\ATL100.DLL+00020931 AtlAxGetHost+00000039
[  5] 0x00000000fa9b6634 C:\Program Files\MATLAB\R2014a\bin\win64\comcli.dll+00026164 QueryMLFcnTable_comcli+00019188
[  6] 0x00000000fa9b8dcc C:\Program Files\MATLAB\R2014a\bin\win64\comcli.dll+00036300 QueryMLFcnTable_comcli+00029324
 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Apr 2014
The reason MATLAB crashes is that there are issues with the Dynamically Linked Library (DLL) that contains the ActiveX control element that is part of the operating system.  Note that this behavior can also occur when using "actxcontrol" to add an ActiveX control to a figure outside of GUIDE.  
There are no workarounds to prevent MATLAB from crashing due to faulty ActiveX control DLLs.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!