diff options
author | siddhu8990 | 2017-02-02 16:02:41 +0530 |
---|---|---|
committer | siddhu8990 | 2017-02-02 16:02:41 +0530 |
commit | 1fef9b1edc2d4400e8ba6bb6fafb648963d6817d (patch) | |
tree | e1f37ced7b25b855d327895c3932e051232606a1 /2.3-1/macros/CCodeGeneration | |
parent | 28d16508c39756d1f143b44c33115530fd4a7653 (diff) | |
download | Scilab2C-1fef9b1edc2d4400e8ba6bb6fafb648963d6817d.tar.gz Scilab2C-1fef9b1edc2d4400e8ba6bb6fafb648963d6817d.tar.bz2 Scilab2C-1fef9b1edc2d4400e8ba6bb6fafb648963d6817d.zip |
Support for function 'schur' added
q
Diffstat (limited to '2.3-1/macros/CCodeGeneration')
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_Funcall.bin | bin | 73180 -> 73176 bytes | |||
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_Funcall.sci | 1 | ||||
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_Type.bin | bin | 5716 -> 6816 bytes | |||
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_Type.sci | 8 |
4 files changed, 8 insertions, 1 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_Funcall.bin b/2.3-1/macros/CCodeGeneration/C_Funcall.bin Binary files differindex 0ae6c268..80fda7c4 100644 --- a/2.3-1/macros/CCodeGeneration/C_Funcall.bin +++ b/2.3-1/macros/CCodeGeneration/C_Funcall.bin diff --git a/2.3-1/macros/CCodeGeneration/C_Funcall.sci b/2.3-1/macros/CCodeGeneration/C_Funcall.sci index 431e4e98..450ad088 100644 --- a/2.3-1/macros/CCodeGeneration/C_Funcall.sci +++ b/2.3-1/macros/CCodeGeneration/C_Funcall.sci @@ -229,7 +229,6 @@ else else TmpInArgName = InArg(counterin).Name; end - TmpInArgType = C_Type(InArg(counterin).Type); //if (FunctionName == 'OpEqual') diff --git a/2.3-1/macros/CCodeGeneration/C_Type.bin b/2.3-1/macros/CCodeGeneration/C_Type.bin Binary files differindex fd024346..7b5bf444 100644 --- a/2.3-1/macros/CCodeGeneration/C_Type.bin +++ b/2.3-1/macros/CCodeGeneration/C_Type.bin diff --git a/2.3-1/macros/CCodeGeneration/C_Type.sci b/2.3-1/macros/CCodeGeneration/C_Type.sci index 13cf6de5..d296c5c6 100644 --- a/2.3-1/macros/CCodeGeneration/C_Type.sci +++ b/2.3-1/macros/CCodeGeneration/C_Type.sci @@ -52,6 +52,14 @@ elseif (ArgType == 'fn') //This type introduced for ODE function, OutC_Type = ''; elseif (ArgType == 'mt') OutC_Type = 'Mat' +elseif (ArgType == 'ss') + OutC_Type = 'double' + //This type is introduced for storing state space systems. + //It is a matrix of size (n+k)*(n+m+1), for n states, m inputs, + //k outputs. It stores matrices A,B,C,D and initial state in following form + // | A B X0 | + // | C D 0 | + else error(9999, 'Unknown Argument Type: ""'+ArgType+'"".'); end |