Change path to tlc files

10 次查看(过去 30 天)
Martin Rupp
Martin Rupp 2016-11-22
评论: Martin Rupp 2016-11-22
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 个评论
Jan
Jan 2016-11-22
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 2016-11-22
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Target Language Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by