amforte / Topographic-Analysis-Kit

Set of matlab based tools for topographic analysis, built on top of TopoToolbox.
GNU General Public License v3.0
43 stars 35 forks source link

Error saving output of KsnChiBatch to Matlab workspace #16

Closed jessezondervan closed 6 years ago

jessezondervan commented 6 years ago

When running the KsnChiBatch I get an error when the code tries to save to the Matlab workspace:

Undefined function or variable 'KSN'.

Error in KsnChiBatch (line 342) varargout{2}=KSN;

This is the parameters with which I ran the tool:

[KSN_STREAM_GRID, ksn_ms , KSN_GRID , CHI_MAP, CHI_GRID]=KsnChiBatch (DEM,FD,A, S , 'all',... 'ref_concavity', 0.44, 'ksn_method', 'trib', 'outlet_level_method', 'elevation',... 'min_elevation', 1380,'output', true);

Best,

Jesse

amforte commented 6 years ago

Error is corrected and will be included in next update.