matlab - Write float array into a binary file c# -


i have float array :

float[] samples32array 

i need convert binary file can read in matlab.

is there way that?

you can use binarywriter write data file easily:

foreach (var value in samples32array) {     writer.write(value); } 

now binarywriter guaranteed use little-endian format, in matlab call, should specify machinefmt value of l explicitly read in little-endian format too.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -