1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) INRIA - Serge Steer
3//
4// Copyright (C) 2012 - 2016 - Scilab Enterprises
5//
6// This file is hereby licensed under the terms of the GNU GPL v2.0,
7// pursuant to article 5.3.4 of the CeCILL v.2.1.
8// This file was originally licensed under the terms of the CeCILL v2.1,
9// and continues to be available under such terms.
10// For more information, see the COPYING file which you should have received
11// along with this program.
12
13function s=%s_c_lss(d1,s2)
14    //  s=[d1,s2] d1 gain, s2 state-space
15    //!
16    // origin s. steer inria 1987
17    //
18    // Copyright INRIA
19    [a2,b2,c2,d2,x2,dom2] = s2(2:7)
20    [n2,m2] = size(b2);
21    [p1,m1] = size(d1)
22    s = tlist(["lss","A","B","C","D","X0","dt"], a2, [zeros(n2,m1),b2], ..
23        c2, [d1,d2], x2, dom2)
24endfunction
25