Code covered by the BSD License  

Highlights from
ByteView

5.0

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 32.25 KB File ID: #6649
image thumbnail

ByteView

by Giampiero Campa

 

29 Dec 2004 (Updated 23 Oct 2007)

Signal composition/decomposition into different types.

| Watch this File

File Information
Description

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.

Required Products Simulink
MATLAB release MATLAB 5.3.1 (R11.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
17 Oct 2006 ed veras

does an excellent job converting types back and forth. Keep-up the good work and congrats!

Please login to add a comment or rating.
Updates
23 Oct 2007

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.

Tag Activity for this File
Tag Applied By Date/Time
simulink Giampiero Campa 22 Oct 2008 07:38:50
numbers Giampiero Campa 22 Oct 2008 07:38:50
type Giampiero Campa 22 Oct 2008 07:38:50
int8 Giampiero Campa 22 Oct 2008 07:38:50
uint8 Giampiero Campa 22 Oct 2008 07:38:50
float Giampiero Campa 22 Oct 2008 07:38:50
double Giampiero Campa 22 Oct 2008 07:38:50
real_t Giampiero Campa 22 Oct 2008 07:38:50
composition Giampiero Campa 22 Oct 2008 07:38:50

Contact us at files@mathworks.com