CompositeModel.m 749 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
classdef CompositeModel
    %COMPOSITEMODEL Combines black- and grey- box models.
    %   Detailed explanation goes here
    
    properties
        blackBox
        greyBox
        modelType
    end
    
    methods
        function obj = CompositeModel(blackBox, greyBox, modelType)
            %UNTITLED Construct an instance of this class
            %   Detailed explanation goes here
            obj.blackBox = blackBox;
            obj.greyBox = greyBox;
            obj.modelType = modelType;
        end
        
        function outputArg = method1(obj,inputArg)
            %METHOD1 Summary of this method goes here
            %   Detailed explanation goes here
            outputArg = obj.Property1 + inputArg;
        end
    end
end