Hello

I've finally found what I wanted in my C function, with Coserror instruction

Coserror("Lower limiter greater than the Upper");

Thanks for your response



Before printing, think about ENVIRONMENTAL responsabity

-----Message d'origine-----
De : users [mailto:[email protected]] De la part de Tim Wescott
Envoyé : mardi 20 décembre 2016 19:48
À : Users mailing list for Scilab <[email protected]>
Objet : Re: [Scilab-users] Printf on console in a c file

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



_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to