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

回答(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 个评论

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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Load Signal Data for Simulation 的更多信息

产品

提问:

2014-8-11

Community Treasure Hunt

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

Start Hunting!

Translated by