On Tuesday, September 20, 2016 at 3:46:47 PM UTC-4, Dennis Eckmeier wrote:
> So, I tried this, but the data are still not stored as the Matlab code 
> (first post) would do it...
> function write_data(X, no_dims, theta, perplexity)
>   n, d = size(X)
>   h = open("data.dat","w+")

w+ means that you will append to data.dat if it already exists.  I think 
you just want "w" to create a new file and overwrite any data.dat that 
might exist.

Reply via email to