Why should I use SFUNPRINTF?

63 views Asked by At

I was going through a .cpp file which is the source for a MATLAB S-Function and I noticed that to print on the "console" the programmer wrote:

SFUNPRINTF("Text I want to print on the console");

While I would have done:

printf("Text I want to print on the console");

Could you explain me the difference ? Is it just something particular of this code or is it some kind of instruction that I am not able to find online?

thanks for your help.

0

There are 0 answers