How do I solve "Inconsistent input arguments: expected class 'coder.Type', found 'struct'"
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hi, I am trying to migrate from 2014a to 2015b but get some problem when using codegen. In my build.m I call codegen like this
codegen -config cfg ...
-launchreport ...
-globals G ...
MyIncludes\my_fusionTracker_types.h ...
MyIncludes\radarBarrierTypes.h ...
MyIncludes\CADS4_typesShared.h ...
MyIncludes\tracker_utilities.h ...
fusionTracker.m -args {fusDetails, fusTrk, fusTrkPred, hostProps, vehState, dets, tlet, tletProps, visObs, visProps, visSys, visSysProps, visFailsafes, roadInfo, Calib, Guardrails} ...
guardrailTracker.m -args {dets, tlet, tletProps, vehState, Guardrails, logData, internal_guard }
and I get the following error:
240 codegen -config cfg ...
Inconsistent input arguments: expected class 'coder.Type', found 'struct'
This worked fine in 2014a but not in 2015b so what is the trick?
/Charles
0 个评论
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!