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

22 ビュー (過去 30 日間)
Chidubem Okoli
Chidubem Okoli 2019 年 6 月 24 日
回答済み: Pullak Barik 2019 年 6 月 25 日
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 Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by