creating blocks in simulink

1 回表示 (過去 30 日間)
alex moore
alex moore 2021 年 11 月 21 日
回答済み: Sivani Pentapati 2021 年 12 月 10 日
I'm looking to make blocks in Simulink to represent : s, 1/s, and 1/s+a.
Reason for this is because I can't use the "s", "z" or "dx/dt" blocks in simulink since its internal representation of time is not real-time.
Any help on how to create equivilent blocks/models is much appreciated!

回答 (1 件)

Sivani Pentapati
Sivani Pentapati 2021 年 12 月 10 日
Hi Alex
The code generated from continuoues blocks is generally not recomended as production quality code because of resource constrains on the target device. Please refer to this link to know more code generation support for continuous blocks.
You can consider using the Simulink Model Discretizer to map continuous blocks into discrete equivalents that support production code generation.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by