Inport vs Simin and Outport vs Simout

1 view (last 30 days)
Gautam
Gautam on 11 Aug 2014
Commented: Andreas Goser on 12 Aug 2014
What's the difference between Inport and simin, both are used to take data from matlab workspace? And the difference between outport and simout? Aren't they doing the same thing

Answers (1)

Joakim Magnusson
Joakim Magnusson on 11 Aug 2014
Simin reads data from matlab workspace and puts it out as a signal. Simout writes the signal to matlab workspace.
Inport and outport i think is used for example when having subsystems, inport and outport then is the link between the systems.
  4 Comments
Gautam
Gautam on 12 Aug 2014
Inport can also read data from matlab workspace. So, what's the difference between inport and "from workspace"
Andreas Goser
Andreas Goser on 12 Aug 2014
Why do you suspect a difference. Maybe (I would guess) it is the same.

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!