Spaces:
Sleeping

XCos_MCP / data /blocks /_backup /CBLOCK.json
xcos-bot
Deploy snapshot from 23aafd1a (verified archive)
39e01c4
Raw History Blame Contribute Delete
1.1 kB
{
"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"
}