scb

Set current block.

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/13833-scb), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Added example in help.