MATLAB Crashes while I try to generate C-code

조회 수: 7 (최근 30일)
surya
surya 2013년 7월 13일
Hello! I've a perfectly working M-file, it does solve a finite element problem and generates several vectors and matrices of dimensions (500x500). It has an iterative procedure that increments the sizes of matrices and vectors. Now, the file generates Mex, but when I try to generate C code, it crashes. Any idea why?
Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
MATLAB Architecture: win64
MATLAB Root : C:\Program Files\MATLAB\R2013a
MATLAB Version : 8.1.0.604 (R2013a)
Operating System : Microsoft Windows 8
Processor ID : x86 Family 6 Model 42 Stepping 7, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.2 (Build 9200)
Fault Count: 1
Assertion at b:\matlab\src\cg_ir\base_core\factory\nodefactory.cpp line 1378:
StaticMatrixType::isa(aMatType) && StaticMatrixType::isa(originalMatType)
I'm using MATLAB 2013a, 64bit, Compiler MS VC++ 2012
  댓글 수: 1
Fred Smith
Fred Smith 2013년 7월 15일
This is a bug in MATLAB Coder. Please report it to MathWorks and we will look into it. If you can provide reproduction steps for us that would be greatly appreciated.
If you want to solve your problem immediately, you could try the R2013b prerelease in the hopes that the problem is solved already.
Thanks!
-Fred

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2013년 7월 13일
See the FAQ: http://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.. Any crashes of MATLAB (but not your custom program you wrote) should be reported to them.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by