Learn the basics you need to build models and be productive in the Simulink® editing environment.
Build a Simple Model covers the complete modeling process, from starting the software to building the block diagram to simulating and viewing results. Master the tips, tricks, and shortcuts that speed up model building.
Parts of a Model introduces concepts and vocabulary that serve as a foundation for learning about and using Simulink beyond the basics.
|bdroot||Return name of top-level Simulink system|
|find_system||Find systems, blocks, lines, ports, and annotations|
|gcs||Get pathname of current system|
|getfullname||Get pathname of block or line|
|gcb||Get pathname of current block|
|gcbh||Get handle of current block|
|getSimulinkBlockHandle||Get block handle from block path|
|Simulink.BlockDiagram.createSubSystem||Create subsystem containing specified set of blocks|
|Simulink.BlockDiagram.deleteContents||Delete contents of block diagram|
|Simulink.SubSystem.copyContentsToBlockDiagram||Copy contents of subsystem to empty block diagram|
|Simulink.SubSystem.deleteContents||Delete contents of subsystem|
|save_system||Save Simulink system|
|close_system||Close Simulink system window or block dialog box|
|bdclose||Close any or all Simulink system windows unconditionally|
|bdIsLoaded||Whether block diagram is in memory|
|bdIsLibrary||Whether block diagram is a library|
|slCharacterEncoding||Change MATLAB character set encoding|
|slIsFileChangedOnDisk||Determine whether model has changed since it was loaded|