Updated 13 May 2023
Decompose numerical Simulink signals into bytes and recompose them
This block takes in input a vector of Ni signals belonging to a type Ti, puts them all in a contiguous memory zone, and reinterprets them as a vector of No signals belonging to a type To.
Typically you can use this block to decompose/recompose doubles or floats into/from the bytes that make them.
You might also be interested in https://github.com/giampy1969/simulink-udpip-blocks
Giampiero Campa (2023). ByteView (https://github.com/giampy1969/simulink-signal-byteview/releases/tag/v1.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
See release notes for this release on GitHub: https://github.com/giampy1969/simulink-signal-byteview/releases/tag/v1.1
Recompiled the s-function with matlab 7.1 so that everything works fine with newer versions requiring the .mexw32 extension. The .dll files is retained to the benefit of users working with versions prior to 7.1, other users may delete it.