[Scilab-users] Printf on console in a c file
Tim Wescott
tim at wescottdesign.com
Tue Dec 20 19:48:20 CET 2016
On Tue, 2016-12-20 at 15:02 +0100, Perrichon wrote:
> Hello,
>
> I’d like to print in a C file (inside a palette) on the console, but
> nothing appends.
> Have anybody an idea on how to proceed ?
>
> I’ve also try something like :
> fprintf(stderr,"\n Lower limiter greater then Upper one");
> but I get errors at compile time, includind stdio.h
Are you trying to use the C standard library printf, or the Scilab
printf?
It's been a while since I've done combined C and Scilab code, but if I
remember correctly you can call Scilab functions from C -- that's
probably what you'll need to do.
--
Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell: 503.349.8432
More information about the users
mailing list