How to set the value of RTWCAPIRootIO in TLC file?
Show older comments
Hello,
I would like to set the value of RTWCAPIRootIO (= Configuration Parameters -> Code Generation -> Interface -> C API -> root-level I/O setting) in a custom TLC file. For the other C API parameters such as "signals" or "parameters", the following lines seems to do the trick, effectively overriding the setting given by the user in the Configuration Parameters dialog:
%assign RTWCAPISignals=1
%assign RTWCAPIParams=1
However,
%assign RTWCAPIRootIO=1
which logically should be doing the same thing for the root I/O setting does not have any effect (tested with both R2011a and R2012b, i.e. the earliest and the most recent versions that have the root I/O setting).
Is this a bug? Or this there another TLC command that one can/should use to change RTWCAPIRootIO?
And most importantly: Is there any comprehensive documentation that covers this aspect of TLC files? The Target Language Compiler Reference Guide seems a bit outdated and the online documentation seems to cover parameters like RTWCAPIRootIO only within the context of the Configuration Parameters panel.
Thanks in advance for any clarification concerning this topic!
Best regards, Fritz
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!