Bloc "Input1" in Simulink

3 次查看(过去 30 天)
Yassin
Yassin 2012-4-29
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
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.

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by