Tim Meehan wrote:

I don't have a copy of matlab with me so this is going by memory. Try this in matlab to generate
a file of floats

my_data = rand(1000,1);
fid = fopen("foo.dat","w");
fwrite(fid, my_data, "float32");
fclose(fid)


So close ;)  matlab uses ' instead of "

my_data = rand(1000,1);
fid = fopen('foo.dat','w');
fwrite(fid, my_data, 'float32');
fclose(fid)

Write your data to your file using this method, Jonas.

Thanks Tim.

- George


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to