フィルターのクリア

matlab2018b problem with microsoft visual C++ 2017 v15.0

2 ビュー (過去 30 日間)
Sonia Carraledo del Rey
Sonia Carraledo del Rey 2019 年 3 月 26 日
回答済み: db1024 2019 年 5 月 6 日
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
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 件)

db1024
db1024 2019 年 5 月 6 日
The issue seems to be resolved with MATLAB R2019a (Update 1).

カテゴリ

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

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by