rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
riccati_gen_model_data.m
Go to the documentation of this file.
1 function [ model_data ] = riccati_gen_model_data( model )
2 %RICCATI_GEN_MODEL_DATA
3 %
4 % Generate model data for the Riccat model
5 %
6 % Andreas Schmidt, 2015
7 model_data = {};
8 model.decomp_mode = 1;
9 
10 model_data.A_components = model.A(model, []);
11 model_data.B_components = model.B(model, []);
12 model_data.C_components = model.C(model, []);
13 model_data.E_components = model.E(model, []);
14 model_data.x0_components = model.x0(model, []);
15 
16 if isfield(model, 'K_in')
17  model_data.K_in = model.K_in(model, model_data);
18 end
19 
20 end
21 
function model_data = riccati_gen_model_data(model)
RICCATI_GEN_MODEL_DATA.