How to print to console in S-Function Builder?

I am new to MATLAB and Simulink and I am trying to print to the command window in matlab.
I am trying to use S-Function builder to construct a system.
I have tried commands ssPrintf and mexPrintf as well.
How can I display content using print statements with S-function builder?
Thanks

回答(1 个)

Hey,
I work with Matlab R2011a and the command mexPrintf allows me to print comment into the matlab command window.
I recently read the following post, I hope it will be helpful... MatlabCentral

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by