Inport vs Simin and Outport vs Simout

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)

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

Simout is neither a Matlab function nor a simulink block
help simout %doesn't exist
The block which export data from simulink to workspace is named : "to workspace"
That's right, forgot to mention that.
Inport can also read data from matlab workspace. So, what's the difference between inport and "from workspace"
Why do you suspect a difference. Maybe (I would guess) it is the same.

Sign in to comment.

Categories

Products

Asked:

on 11 Aug 2014

Commented:

on 12 Aug 2014

Community Treasure Hunt

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

Start Hunting!