Mercurial > repos > public > sbplib
comparison +multiblock/Definition.m @ 587:25fdc7a625b6 feature/better_multiblock_defs
Add abstract class for multiblock definitions
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 11 Sep 2017 13:46:08 +0200 |
parents | |
children | 53d422efaabd |
comparison
equal
deleted
inserted
replaced
586:97b9a0023d38 | 587:25fdc7a625b6 |
---|---|
1 classdef Definition | |
2 methods (Abstract) | |
3 | |
4 % Returns a multiblock.Grid given some parameters | |
5 g = getGrid(obj, varargin) | |
6 | |
7 % label is the type of label used for plotting, | |
8 % default is block name, 'id' show the index for each block. | |
9 show(obj, label, gridLines, varargin) | |
10 | |
11 % Returns the grid size of each block in a cell array | |
12 % The input parameters are determined by the subclass | |
13 ms = getGridSizes(obj, varargin) | |
14 end | |
15 end |