Effacer les filtres
Effacer les filtres

Change path to tlc files

12 vues (au cours des 30 derniers jours)
Martin Rupp
Martin Rupp le 22 Nov 2016
Commenté : Martin Rupp le 22 Nov 2016
I have to customize Block TLC files but due to Access limitations I can't write in the Matlab Directory. So I would like to copy the tlc Folder to a different Directory where I have full Access. But I don't seem to be able to tell the System TLC file where to finde the modified tlc files. I have tried using %addincludepath but this doesn't seem to work. Can you help me how I can tell the System TLC to not use the Default Block TLS Files?
  2 commentaires
Jan
Jan le 22 Nov 2016
Where did you add "%addincludepath" and what does "doesn't seem to work" mean? Does it work or do you get an error message?
Martin Rupp
Martin Rupp le 22 Nov 2016
I have added %addincludepath right before %include "codegenentry.tlc". And doesn't seem to work means that the resulting code is not different to the "regular" code Generation even I have changed a block tlc file.
To be more precise. I tried to force the look_up.tlc to create a Parameter Group for ASAP2 File Generation even if GenerateASAP2 = 0 because I can't use the built in ASAP2 generation provided by Matlab. But no ParameterGroup is created in the model.rtw file. I don't think that the forcing is wrong because I just have taken the ParameterGroup creation out of the if-Statement so it should create a ParameterGroup all the time.
Thanks for your help.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Target Language Compiler 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