MATLAB® Coder™ Getting Started Guide.pdf

(681 KB) Pobierz
MATLAB ® Coder™
Getting Started Guide
R 2014 a
1327221907.011.png
How to Contact MathWorks
www.mathworks. com Web
comp.soft-sys.matlab Newsgroup
www.mathworks.com/contact_TS.html Technical Support
Product enhancement suggestions
suggest@mathworks.com
Bug reports
bugs@mathworks.com
Documentation error reports
doc@mathworks.com
Order status, license renewals, passcodes
service@mathworks.com
Sales, pricing, and general information
info@mathworks.com
508-647-7000 (Phone)
508-647-7001 (Fax)
The MathWorks, Inc.
3 Apple Hill Drive
Natick, MA 01760-2098
For contact information about worldwide offices, see the MathWorks Web site.
MATLAB ® Coder™ Getting Started Guide
© COPYRIGHT 2011–2014 by The MathWorks, Inc.
The software described in this document is furnished under a license agreement. The software may be used
or copied only under the terms of the license agreement. No part of this manual may be photocopied or
reproduced in any form without prior written consent from The MathWorks, Inc.
FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation
by, for, or through the federal government of the United States. By accepting delivery of the Program
or Documentation, the government hereby agrees that this software or documentation qualifies as
commercial computer software or commercial computer software documentation as such terms are used
or defined in FAR 12.212, DFARS Part 227.72, and DFARS 252.227-7014. Accordingly, the terms and
conditions of this Agreement and only those rights specified in this Agreement, shall pertain to and govern
theuse,modification,reproduction,release,performance,display,anddisclosureoftheProgramand
Documentation by the federal government (or other entity acquiring for or through the federal government)
and shall supersede any conflicting contractual terms or conditions. If this License fails to meet the
government’s needs or is inconsistent in any respect with federal procurement law, the government agrees
to return the Program and Documentation, unused, to The MathWorks, Inc.
Trademarks
MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See
www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand
names may be trademarks or registered trademarks of their respective holders.
Patents
MathWorks products are protected by one or more U.S. patents. Please see
www.mathworks.com/patents for more information.
1327221907.012.png 1327221907.013.png 1327221907.014.png 1327221907.001.png 1327221907.002.png 1327221907.003.png 1327221907.004.png
Revision History
April 2011
Online only
New for R2011a
September 2011 Online only
Revised for Version 2.1 (Release 2011b)
March 2012
Online only
Revised for Version 2.2 (Release 2012a)
September 2012 Online only
Revised for Version 2.3 (Release 2012b)
March 2013
Online only
Revised for Version 2.4 (Release 2013a)
September 2013 Online only
Revised for Version 2.5 (Release 2013b)
March 2014
Online only
Revised for Version 2.6 (Release 2014a)
Check Bug Reports for Issues and Fixes
Software is inherently complex and is not free of errors. The output of a code generator
might contain bugs, some of which are not detected by a compiler. MathWorks
reports critical known bugs brought to its attention on its Bug Report system at
www.mathworks.com/support/bugreports/ . Use the Saved Searches and Watched Bugs tool
with the search phrase ‘‘Incorrect Code Generation’’ to obtain a report of known bugs that
produce code that might compile and execute, but still produce wrong answers.
The bug reports are an integral part of the documentation for each release. Examine
periodically all bug reports for a release, as such reports may identify inconsistencies between
the actual behavior of a release you are using and the behavior described in this documentation.
In addition to reviewing bug reports, you should implement a verification and validation
strategy to identify potential bugs in your design, code, and tools.
Contents
Product Overview
1 MATLAB Coder Product Description ................
1-2
Key Features .....................................
1-2
About MATLAB Coder .............................
1-3
When to Use MATLAB Coder ........................
1-3
What You Can Do with the Project Interface ...........
1-3
When to Use the Command Line (codegen function) .....
1-4
Code Generation for Embedded Software
Applications ....................................
1-5
Code Generation for Fixed-Point Algorithms .........
1-6
Installing Prerequisite Products ....................
1-7
Related Products ..................................
1-8
SettingUptheCorC++Compiler ...................
1-9
Expected Background .............................. 1-10
Workflow Overview ................................ 1-11
See Also ......................................... 1-11
Tutorials
2 C Code Generation Using the Project Interface .......
2-2
v
1327221907.005.png 1327221907.006.png 1327221907.007.png 1327221907.008.png 1327221907.009.png 1327221907.010.png
 
Zgłoś jeśli naruszono regulamin