MATLAB Answers

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

13 views (last 30 days)
Chidubem Okoli
Chidubem Okoli on 24 Jun 2019
Answered: Pullak Barik on 25 Jun 2019
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?

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!