Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use "environment.slx" file for making different connections between your model and environment. It has some input and output ports. As an example, a simple system connecting to the environment in the "sample.slx" file is shown.  Some items such as, the water flow velocity, density, and gravity are defined inside of the environment. You need to only put the inserting forces from drifter to the environment as input and connect the poles of battery to your model. As can be seen in "sample.slx" you can show the X, Y, Z place, current, and voltage , by scope blocks.


View file
nameenvironment.slx
height250
View file
namesample.slx
height250

...