Code covered by the BSD License  

Highlights from
Embedded MATLAB(R) Example: Convert integer to binary

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 1.56 KB File ID: #19744
image thumbnail

Embedded MATLAB(R) Example: Convert integer to binary

by Rick Rosson

 

28 Apr 2008 (Updated 05 Jan 2010)

This Embedded MATLAB(R) function converts an unsigned 8-bit integer to a vector of binary digits

| Watch this File

File Information
Description

The help section includes instructions for building a MEX function using the EMLMEX command, and for generating C-code using the EMLC command.

For more information about the Embedded MATLAB subset, please visit the MathWorks web-site:
http://www.mathworks.com/products/featured/embeddedmatlab/

MATLAB release MATLAB 7.9 (2009b)
Other requirements Requires Real-Time Workshop to generate C-code but not to execute MATLAB code.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
30 Apr 2008

Minor change to the M-code to make the output of type 'logical' instead of type 'uint8'.

02 May 2008

Forgot to upload the new M-file with last update (!)

11 Aug 2008

Updated description to include a link to the Embedded MATLAB landing page on the MathWorks web-site.

16 Dec 2009

Added copyright notice to MATLAB Function. Added registered trademark symbol to "Embedded MATLAB". Cleaned up the ASSERT statement.

05 Jan 2010

Updated MATLAB Release to R2009b, and updated the "Other requirements" to change "M-code" to "MATLAB code".

Tag Activity for this File
Tag Applied By Date/Time
embedded matlab Rick Rosson 22 Oct 2008 09:59:24
embedded matlab Rick Rosson 22 Oct 2008 09:59:24
uint8 Rick Rosson 22 Oct 2008 09:59:24
convert Rick Rosson 22 Oct 2008 09:59:24
binary Rick Rosson 22 Oct 2008 09:59:24
eml Rick Rosson 22 Oct 2008 13:25:46
embedded Rick Rosson 22 Oct 2008 13:25:51
emlc Rick Rosson 22 Oct 2008 13:26:04
emlmex Rick Rosson 22 Oct 2008 13:26:09
rtw Rick Rosson 11 Feb 2009 12:49:29
real time workshop Rick Rosson 11 Feb 2009 12:49:29
embedded matlab Dennis 26 Mar 2010 10:02:20
eml Gary 09 Feb 2011 17:46:18

Contact us at files@mathworks.com