/matlab/getlinehandles.m
http://github.com/clawpack/clawpack-4.x · Objective C · 16 lines · 11 code · 5 blank · 0 comment · 4 complexity · 93600206ce8206249b31f307248432f3 MD5 · raw file
- function h = getlinehandles(level)
- % Internal matlab routine
- if (nargin == 0)
- level = 1;
- end;
- if (length(level) > 1)
- error(['getlinehandles : You can only get handles for a single ',...
- 'level of amr data at a time']);
- end;
- amrlines = get_lines;
- h = amrlines{level};