File size: 1,100 Bytes
39e01c4 | 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 28 29 30 31 | {
"description": "C-code block for custom continuous dynamics (2 continuous states)",
"name": "CBLOCK",
"anomalies": [
"Width=80 (non-standard, wider than typical 40)",
"simulationFunctionName=' ' (space) - name derived from exprs[0]",
"simulationFunctionType='DYNAMIC_EXPLICIT_4' - user-defined",
"exprs is ScilabList (nested structure) - highly unusual",
"Empty realParameters and integerParameters - all params in exprs",
"14 parameters for C code configuration"
],
"criticalRules": [
"First exprs element is the C function file name",
"User must provide C code in external file",
"DYNAMIC_EXPLICIT_4 type requires custom compilation",
"exprs is nested ScilabList with ScilabString inside"
],
"commonUses": [
"Custom C algorithms",
"Legacy code integration",
"Performance-critical user blocks",
"External library calls"
],
"relatedBlocks": [
"CBLOCK4",
"c_block",
"fortran_block",
"scifunc_block_m"
],
"sourceFile": "scilab-2026.0.1/scilab-2026.0.1/scilab/modules/scicos_blocks/macros/Misc/CBLOCK.sci"
} |