#include "mathlink.h"/* send a list of single-precision floating-point numbers to a link */void f(MLINK lp){ float list[20]; int i; for(i = 0; i < 20; i++) list[i] = i + .9; if(! MLPutReal32List(lp, (float *)list, 20)) { /* unable to put the list to lp */ }}