printing a message in the scilab console from a C external function

Adrien Vogt-Schilb vogt at centre-cired.fr
Wed Apr 6 14:04:24 CEST 2011


Hi

Does anyone know how to print a message in the scilab console from a C 
external function.

I am using a dirty workaround :

voir myfunction(..)

[...]
FILE *fp;
fp = fopen("myfile.txt","a");
for x...
    fprintf(fp,"x[%i]=%g \n",k,x[k]);

fclose(fp)


this succesfully writes messages in myfile.txt, i would like to print to 
the scilab console instead


thank you all

-- 

*Adrien Vogt-Schilb*

Research Fellow

vogt at centre-cired.fr <mailto:vogt at centre-cired.fr>

Tel: (+33) 1 43 94 73 96

Fax: (+33) 1 43 94 73 70

CIRED

	

45 bis, Av de la Belle Gabrielle

F-94736 Nogent-sur-Marne

http://www.centre-cired.fr/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110406/50dfdcfd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logocired.png
Type: image/png
Size: 4092 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20110406/50dfdcfd/attachment.png>


More information about the users mailing list