TLC debugging without Simulink Coder (RealTime Workshop)
1 ビュー (過去 30 日間)
I would like to debug a TLC file for an S-Function, written in C. However, I don't have the Simulink Coder (Real-Time Workshop) at hand. It would help me a lot if I could implement a standard output function, such as 'stdout' in C, but this seems not possible in TLC.
I also tried to run my model in Rapid Accelerator mode without a TLC file, but the results are different from those at Normal Mode. I suspect this is because of the missing TLC file (with user code wrapping)?
I would be glad if someone could give me a hint.
回答 (2 件)
Kaustubha Govind 2011 年 12 月 29 日
It's not easy to guess what's going wrong with the available information - something about the way the S-function is written probably causes this. You can add printf statements to the TLC file, so that they are produced in the generated code if you need to print debugging information.