Closed Universe

Wraps the input vector into a given hypercuboid
2.1K Downloads
Updated 20 May 2023

simulink-wrapper-block

Wraps the input vector into a given hypercuboid

View Closed Universe on File Exchange

Open in MATLAB Online

When the input is inside the n-dimensional box defined by the two limiting vectors Min and Max, then the output is equal to the input. When the input exceeds a limit along one dimension, the output reappears "on the other side" of the box, along the same dimension.

This block is especially useful if you want to keep the evolution of a given variable in a certain range, for example, when displaying images with the virtual reality toolbox, it is better to keep the object positions within certain limits, otherwise numerical problems may prevent a correct visualization.

Cite As

Giampiero Campa (2024). Closed Universe (https://github.com/giampy1969/simulink-wrapper-block/releases/tag/v1.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R11.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulink in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1

See release notes for this release on GitHub: https://github.com/giampy1969/simulink-wrapper-block/releases/tag/v1.1

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.