If you are creating, editing or analyzing Simulink models programmatically, you are probably familiar with find_system.While there is nothing fundamentally wrong with find_system, in this post I want to highlight a set of functions that provide similar capabilities with improved usability.In MATLAB R2018a, we introduced:Simulink.findBlocks: Find blocks in Simulink modelsSimulink.findBlocksOfType: Find specified type of block in Simulink modelsSimulink.allBlockDiagrams: Find loaded Simulink models and libraries
↧