Bloc "Input1" in Simulink

I have a question that is normally basic block Input1 source, if we add a second block, the number is incremented by 2, what is the usefulness of this block, since it is not a signal, this is when you use it?

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-4-30

1 个投票

Inport/Outport are used as boundary blocks for a system. When used within a subsystem, they create inputs/outputs to the subsystem block that you can use to connect it with other blocks. When used at a model level, it can be used for at least two purposes:
  1. To import/export input/output signals via the Data Import/Export Pane.
  2. When generating code from the model, these serve as input/output signals that are supplied from other pieces of code.

类别

帮助中心File Exchange 中查找有关 Modeling 的更多信息

产品

标签

提问:

2012-4-29

Community Treasure Hunt

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

Start Hunting!

Translated by