Effacer les filtres
Effacer les filtres

Simulink accelerator error: "undeclared identifier"

6 vues (au cours des 30 derniers jours)
Adrian
Adrian le 17 Avr 2020
Commenté : Adrian le 19 Oct 2021
Hello,
I'm using matlab 2019b update5. I'm simulating a model that contains a referenced model. If I run the referenced model in normal mode, everything is fine. If I put it in accelerator mode, Simulink gives the error below.
Is it a Simulink bug or maybe a setting issue?
Does code generation settings and Simulation target settings have influence on this code generation?
Thanks
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.
### Compiling SM03_HERO_FCSW_APSW_REDMAN.c
cl -c -nologo -GS -W4 -DWIN32 @SM03_HERO_FCSW_APSW_REDMAN_comp.rsp -D_MT -D_DLL -MD -D_CRT_SECURE_NO_WARNINGS -DMATLAB_MEX_FILE /DNDEBUG /Od /Oy- -DMODEL=SM03_HERO_FCSW_APSW_REDMAN -DNUMST=1 -DNCSTATES=0 -DMAT_FILE=0 -DINTEGER_CODE=0 -DONESTEPFCN=0 -DTERMFCN=1 -DHAVESTDIO -DMULTI_INSTANCE_CODE=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DMDL_REF_SIM_TGT=1 -DENABLE_SLEXEC_SSBRIDGE=1 -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 SM03_HERO_FCSW_APSW_REDMAN.c
SM03_HERO_FCSW_APSW_REDMAN.c
SM03_HERO_FCSW_APSW_REDMAN.c(39020): error C2065: 'j3bngjxgwo': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39020): error C2065: 'boxkzvshmk': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39021): error C2065: 'nyr0ji4gyi': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39021): error C2065: 'ejykkx5apg': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39022): error C2065: 'adjqsttjtg': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39023): error C2065: 'mkt5awzbe0': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39024): error C2065: 'ie32dmi5x1': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39024): error C2065: 'c3e2i441kc': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39025): error C2065: 'kxnbja04z0': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39025): error C2065: 'iv5w0v3rpj': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39027): error C2065: 'igyxqcwyce': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39028): error C2065: 'pe232y5d0i': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39029): error C2065: 'nreersct4c': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39029): error C2065: 'jcmzki4ekn': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39030): error C2065: 'pjzu0hiv1i': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39030): error C2065: 'a1yiaqygcb': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39031): error C2065: 'jjlm5hwp0w': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39031): error C2065: 'f1gx0uisdf': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39032): error C2065: 'nfdpylaot3': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39032): error C2065: 'jlpz5mooso': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39033): error C2065: 'mo15qz4obz': undeclared identifier
SM03_HERO_FCSW_APSW_REDMAN.c(39034): error C2065: 'ksmxhunzke': undeclared identifier
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
The make command returned an error of 2
Error(s) encountered while building "SM03_HERO_FCSW_APSW_REDMANlib"
  2 commentaires
charles guo
charles guo le 19 Oct 2021
I encounter the same issue. Have you got the solution? Thanks
Adrian
Adrian le 19 Oct 2021
Never found the solution. I didn't try with a newer matlab version. My feeling was that is a matlab bug. What version are you using?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Signal Generation and Preprocessing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by