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

11 次查看(过去 30 天)
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?

回答(1 个)

Pullak Barik
Pullak Barik 2019-6-25
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

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by