matlab2018b problem with microsoft visual C++ 2017 v15.0
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I have a question with the generated code from simulink blocks.
I selected toolchain Microsoft Visual C++ 2017 on Code generation options.
When I generating C code, these structures are created in the "_types.h" file, which is not used in the rest of the generated code
/* Custom Type definition for Chart: '<S5>/WL_management' */
#ifndef struct_tag_skA4KFEZ4HPkJJBOYCrevdH
#define struct_tag_skA4KFEZ4HPkJJBOYCrevdH
struct tag_skA4KFEZ4HPkJJBOYCrevdH
{
uint32_T SafeEq;
uint32_T Absolute;
uint32_T NaNBias;
uint32_T NaNWithFinite;
uint32_T FiniteWithNaN;
uint32_T NaNWithNaN;
};
#endif /*struct_tag_skA4KFEZ4HPkJJBOYCrevdH*/
#ifndef typedef_skA4KFEZ4HPkJJBOYCrevdH_FCC1__T
#define typedef_skA4KFEZ4HPkJJBOYCrevdH_FCC1__T
typedef struct tag_skA4KFEZ4HPkJJBOYCrevdH skA4KFEZ4HPkJJBOYCrevdH_FCC1__T;
#endif /*typedef_skA4KFEZ4HPkJJBOYCrevdH_FCC1__T*/
#ifndef struct_tag_sJCxfmxS8gBOONUZjbjUd9E
#define struct_tag_sJCxfmxS8gBOONUZjbjUd9E
struct tag_sJCxfmxS8gBOONUZjbjUd9E
{
boolean_T CaseSensitivity;
boolean_T StructExpand;
char_T PartialMatching[6];
boolean_T IgnoreNulls;
};
#endif /*struct_tag_sJCxfmxS8gBOONUZjbjUd9E*/
#ifndef typedef_sJCxfmxS8gBOONUZjbjUd9E_FCC1__T
#define typedef_sJCxfmxS8gBOONUZjbjUd9E_FCC1__T
<S5> WL_magamente is this block created with matlab2016a.
However with the toolchain Microsoft Visual C++ 2015 this code does not appear.
Is it possible to automatically remove this part of the code?
Thanks!
댓글 수: 1
db1024
2019년 4월 26일
Hi,
I am using MATLAB R2018a with the Toolchain "Microsoft Visual C++ 2017 v15.0 | nmake (64-bit Windows)". In my generated code, I see the same structures and they seem to be generated by nonvirtual bus signals and their corresponding input parsers.
Nevertheless, I also could not trace it down to the reason why they are generated...
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!