Development on FreeMat

117 views
Skip to first unread message

Ximo

unread,
Jul 29, 2011, 7:06:56 AM7/29/11
to freemat-devel
Hi!

We are moving our teaching programs from Matlab to FreeMat and I had
to create some scripts and a Library that I think can be useful to
someone else:

- A simple "atof" function, similar to strnum.
- A simple "strsplit" function, that separates a string into a
cellarray, using blanks as separators.
- The library is a "simple" network interface to TCP and UDP using
"import" command. Here are the headers of the library:

int udp_send(char *data, int tam, int dest_port, char *ip);
int udp_recv(char *data, int tam, int port);
int tcp_connect(char *host, int port);
int tcp_disconnect(int fd);
int tcp_recv(int fd, char *buf, int max_tam);
int tcp_send(int fd, char *buf, int tam);
char tcp_getchar(int fd);
void tcp_ungetchar();
int tcp_readline(int fd, char *buf, int max_tam);

Is this useful for anyone?
It seems that google groups is not very friendly with attachments. Is
there any place to release the code?

Greetings!
Ximo

Samit Basu

unread,
Aug 9, 2011, 12:39:05 AM8/9/11
to freema...@googlegroups.com
Hi,

Best place is here, in the patches section of the web site.

http://sourceforge.net/tracker/?group_id=91526&atid=597448

Samit

> --
> You received this message because you are subscribed to the Google Groups "freemat-devel" group.
> To post to this group, send email to freema...@googlegroups.com.
> To unsubscribe from this group, send email to freemat-deve...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/freemat-devel?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages