scb

Set current block.
2K Downloads
Updated 1 Feb 2007

View License

SCB(BLOCK) redefines the current block returned by GCB to be BLOCK.

Example
test model with a Constant block and an Add block
gcb returns 'untitled/Constant'
scb('untitled/Add')
gcb returns 'untitled/Add'

Cite As

Per-Anders Ekstrom (2026). scb (https://uk.mathworks.com/matlabcentral/fileexchange/13833-scb), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Programmatic Model Editing in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Added example in help.