Effacer les filtres
Effacer les filtres

Error using ==> RTW.makertw.callMakeHook at 49 (Unexpected Matlab Expression)

16 vues (au cours des 30 derniers jours)
Jonathan
Jonathan le 21 Mar 2013
Commenté : lei le 27 Juil 2022
I am in the process of building a Model using RTW. The model runs in simulink, however, when the model is in the process of building it stops when the following error occurs:
Error using ==> RTW.makertw.callMakeHook at 49 The call to rti1005_make_rtw_hook, during the after_tlc hook generated the following error: Error: Unexpected MATLAB expression.
I have a similar (older) model that can be built in RTW using the same initialization file as the model that I am currently trying build in RTW. This leads me to believe that the error is not in the initialization file. It is either in the new model, or the RTW itself.
Any ideas?
-Thanks for your time.
  2 commentaires
Kaustubha Govind
Kaustubha Govind le 21 Mar 2013
You are currently using the dSPACE target correct? Are you able to debug rti1005_make_rtw_hook.m and see what line the error occurs at? If not, perhaps one option might be to contact dSPACE directly to see if they have seen the issue before?
lei
lei le 27 Juil 2022
Hello, I also encountered such a problem. How did you solve it? Thank you.

Connectez-vous pour commenter.

Réponses (2)

Mani Deep Ankem
Mani Deep Ankem le 5 Juil 2018
Modifié(e) : Mani Deep Ankem le 5 Juil 2018
I have had a similar error and it was because a folder name in the path had an apostrophe. So, just renaming the folder did the job.
  2 commentaires
Qiang Luo
Qiang Luo le 26 Juil 2018
what's the name of folder?
Mani Deep Ankem
Mani Deep Ankem le 26 Juil 2018
Modifié(e) : Mani Deep Ankem le 26 Juil 2018
'John Doe's Demo' something like that

Connectez-vous pour commenter.


Qiang Luo
Qiang Luo le 26 Juil 2018
what's the name of folder?

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by