フィルターのクリア

How to add_block Sum of Elements instead of Sum block ?

2 ビュー (過去 30 日間)
Henry Buck
Henry Buck 2017 年 4 月 22 日
編集済み: Henry Buck 2017 年 4 月 22 日
Hi, By using this lines Sum block is created:
Add_sum=add_block('built-in/Sum', [mdl,'/sum_elem']);
posg = get(Add_sum,'Position');
set(Add_sum,'Position',posg + [1970 1736 1980 1756])
PH_Add_sum=get(Add_sum,'PortHandles');
It has two input and one output.
Is there a similare way to create Sum of Elements - which has one input and one output ?
Thanks for your help, Henry

回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by