I'm looking to use the addon scripts r.dominant_dir.m and
r.calc_terraflow_dir.m, however, I have never used Matlab or Freemat.
I looked around for some examples or documentation on how to run these
scripts for (in?) GRASS, but have not found anything helpful.
Can someone point me to a good resource to learn about this?
I'm looking to use the addon scripts r.dominant_dir.m and
r.calc_terraflow_dir.m, however, I have never used Matlab
or Freemat.
I looked around for some examples or documentation on how
to run these scripts for (in?) GRASS, but have not found anything
helpful.
Can someone point me to a good resource to learn about
this?
I am not sure how useful those scripts are, they were mostly the result
of me exploring some code. but who knows maybe you have a good use for
them.
Octave is another GPL'd matlab clone.
without looking how they work I'd guess r.out.mat was used to save
a .mat file which octave could then load. ?
the .m script is run by typing the name without the .m from the matlab
command prompt.
if you are still stuck I can try to find a little time to document
them better.
Thank you for the info. I wound up installing GRASS65 and using MFD
in r.watershed. I was looking to those scripts to use MFD in GRASS64.
So, in short, I'm good to go.
Much thanks,
Mark
On Wed, Nov 18, 2009 at 4:52 AM, Hamish <hamish_b@yahoo.com> wrote:
Mark:
I'm looking to use the addon scripts r.dominant_dir.m and
r.calc_terraflow_dir.m, however, I have never used Matlab
or Freemat.
I looked around for some examples or documentation on how
to run these scripts for (in?) GRASS, but have not found anything
helpful.
Can someone point me to a good resource to learn about
this?
I am not sure how useful those scripts are, they were mostly the result
of me exploring some code. but who knows maybe you have a good use for
them.
Octave is another GPL'd matlab clone.
without looking how they work I'd guess r.out.mat was used to save
a .mat file which octave could then load. ?
the .m script is run by typing the name without the .m from the matlab
command prompt.
if you are still stuck I can try to find a little time to document
them better.
fwiw I added a couple USAGE lines to the header comments in
those scripts.
In matlab parlance a "!" at the start of the line is similar
to doing system().