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

10 vues (au cours des 30 derniers jours)
Chidubem Okoli
Chidubem Okoli le 24 Juin 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?

Réponses (1)

Pullak Barik
Pullak Barik le 25 Juin 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

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by