how to find the properties of a simulink library block using matlab script

22 views (last 30 days)
So I have a project to check the properties of all library blocks in simulink model and find which blocks contain a CopyFcn in their properties. Any help please?

Answers (1)

Pullak Barik
Pullak Barik on 25 Jun 2019
I guess you should read up about get_param and the 'ObjectProperties' parameter for the get_param function. You can then use get_param on the necessary library blocks to check for CopyFcn.
Link- get_param

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!