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.
|
| 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". |
|
Contact us at files@mathworks.com