필터 지우기
필터 지우기

Problem with Matlab compiler and Sim Enum

조회 수: 4 (최근 30일)
daniel Monterrain
daniel Monterrain 2019년 3월 12일
댓글: Daniel MONTERRAIN 2019년 6월 17일
I have a matlab program using variable of class SimulinkEnumType
The program is OK (before to try to compile it)
when I try to use the matlab compiler (mcc) I have the folowing error.
"Compiler version: 4.18 (R2012b)
Processing C:\Program Files\MATLAB\MATLAB Production Server\R2012b\toolbox\matlab\mcc.enc
Depfun error: 'The specified superclass 'Simulink.IntEnumType' contains a parse error or cannot be found on MATLAB's search path, possibly shadowed by another file with the same name.'
the error occurs at the very begening of the compilation (build) process.
i do not understand what is the file or path missing in installation
please Help!

답변 (1개)

Tim Choo
Tim Choo 2019년 3월 19일
Hi Daniel,
MATLAB Compiler does not currently support compiling Simulink classes. You can find the complete list of supported toolboxes and functions here https://www.mathworks.com/products/compiler/compiler_support.html.
  댓글 수: 1
Daniel MONTERRAIN
Daniel MONTERRAIN 2019년 6월 17일
OK for the answer
is there a solution in order not to rewrite all the application ?
Some one told me to replace the super class Simulink.IntEnumType by the super class int32
what do you think of that ?

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

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

제품


릴리스

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by