<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 2:24 AM, Kevin Williams <span dir="ltr"><<a href="mailto:zs1kwa@gmail.com" target="_blank">zs1kwa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
I am trying to export maps from Grass 7.0.0 running in Linux (64 bit<br>
Ubuntu) using r.out.mat.<br>
<br>
Matlab (R2014b), however, complains that these files are corrupt.<br>
(Matlab is also running in Linux.)<br>
<br>
Could anyone please advise?<br>
<br></blockquote><div>Hi,<br><br>it is possible that r.out.mat supports some older version of these .mat files which Matlab no longer accepts.<br></div><div><br></div><div>There are some things you can do.<br><br>1) Try if you can tell Matlab that it is an older version of the format.<br>2) Try Octave, perhaps load and save there, then open in Matlab.<br></div><div>3) Try on of the (many) formats provided by r.out.gdal. Can Matlab load TIFF, for example?<br></div><div>4) Use r.out.ascii (or r.out.xyz) and read the created text file to Matlab in some way.<br></div><div>5) Fix r.out.mat if you can and submit a patch.<br></div><div><br></div><div>In any case, please share what worked for you.<br></div><div><br></div><div>Vaclav<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Many thanks, Kevin<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br></div></div>