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 (2024). scb (https://www.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 LinuxCategories
Find more on Programmatic Model Editing in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Added example in help. |