Error while Generating TLC Interface API
显示 更早的评论
Upon moving from r2011b to r2012b, I get the following errors when building my project:
### Generating TLC interface API. ............................................................................... ............................................................................... .......... Error: File: C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2main.tlc Line: 49 Column: 41 Undefined identifier ASAP2EnableTestPoints Main program: ==> [00] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2main.tlc:<NONE>(49)
Error: File: C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2main.tlc Line: 50 Column: 41 Undefined identifier ASAP2EnableTestPoints Main program: ==> [00] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2main.tlc:<NONE>(50)
### Creating ASAP2 file: msd_GMTRANS_CG_MSD_Nova_TBI_DEFCO_Testing.a2l ............................................................................... ....... Error: File: C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc Line: 866 Column: 7 Undefined identifier ASAP2EnableTestPointStateflow Main program: ==> [00] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc:FcnIsASAP2TestPointStateflowEnabled(866) [01] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc:FcnLoopThruDWorks(1148) [02] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc:SLibASAP2WriteDynamicContents(37) [03] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2main.tlc:<NONE>(75)
Error: File: C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc Line: 866 Column: 38 The == and != operators can only be used to compare values of the same type Main program: ==> [00] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc:FcnIsASAP2TestPointStateflowEnabled(866) [01] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc:FcnLoopThruDWorks(1148) [02] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2lib.tlc:SLibASAP2WriteDynamicContents(37) [03] C:\Program Files (x86)\MATLAB\R2012b\rtw\c\tlc\mw\asap2main.tlc:<NONE>(75)
Using the same project file, these errors were not present in r2011b. Any assistance would be greatly appreciated.
Thank you.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Code Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!