Embedded Coder Reference Manual R2020b

Telechargé par Narissara Thongrit
Embedded Coder®
Reference
R2020b
How to Contact MathWorks
Latest news: www.mathworks.com
Sales and services: www.mathworks.com/sales_and_services
User community: www.mathworks.com/matlabcentral
Technical support: www.mathworks.com/support/contact_us
Phone: 508-647-7000
The MathWorks, Inc.
1 Apple Hill Drive
Natick, MA 01760-2098
Embedded Coder® Reference
© COPYRIGHT 2011–2020 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 qualiî³³es as commercial computer software or commercial computer
software documentation as such terms are used or deî³³ned 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 speciî³³ed in this Agreement, shall pertain
to and govern the use, modiî³³cation, reproduction, release, performance, display, and disclosure of the Program and
Documentation by the federal government (or other entity acquiring for or through the federal government) and shall
supersede any conî³´icting 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.
Revision History
April 2011 Online only New for Version 6.0 (Release 2011a)
September 2011 Online only Revised for Version 6.1 (Release 2011b)
March 2012 Online only Revised for Version 6.2 (Release 2012a)
September 2012 Online only Revised for Version 6.3 (Release 2012b)
March 2013 Online only Revised for Version 6.4 (Release 2013a)
September 2013 Online only Revised for Version 6.5 (Release 2013b)
March 2014 Online only Revised for Version 6.6 (Release 2014a)
October 2014 Online only Revised for Version 6.7 (Release 2014b)
March 2015 Online only Revised for Version 6.8 (Release 2015a)
September 2015 Online only Revised for Version 6.9 (Release 2015b)
October 2015 Online only Rereleased for Version 6.8.1 (Release 2015aSP1)
March 2016 Online only Revised for Version 6.10 (Release 2016a)
September 2016 Online only Revised for Version 6.11 (Release 2016b)
March 2017 Online only Revised for Version 6.12 (Release 2017a)
September 2017 Online only Revised for Version 6.13 (Release 2017b)
March 2018 Online only Revised for Version 7.0 (Release 2018a)
September 2018 Online only Revised for Version 7.1 (Release 2018b)
March 2019 Online only Revised for Version 7.2 (Release 2019a)
September 2019 Online only Revised for Version 7.3 (Release 2019b)
March 2020 Online only Revised for Version 7.4 (Release 2020a)
September 2020 Online only Revised for Version 7.5 (Release 2020b)
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/. In the search
bar, type the phrase "Incorrect Code Generation" to obtain a report of known bugs that produce code
that might compile and execute, but still produce wrong answers. To save a search, click Save
Search.
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 veriî³³cation and validation strategy to
identify potential bugs in your design, code, and tools.
Embedded Coder Functions
1
Simulink Coder Functions
2
Embedded Coder Blocks
3
Simulink Coder Blocks
4
Embedded Coder Parameters: Advanced Parameters
5
Use only existing shared code ................................... 5-2
Description ................................................ 5-2
Settings .................................................. 5-2
Dependency ............................................... 5-2
Command-Line Information ................................... 5-2
Recommended Settings ...................................... 5-2
Use Embedded Coder Features ................................... 5-3
Description ................................................ 5-3
Settings .................................................. 5-3
Dependencies .............................................. 5-3
Command-Line Information ................................... 5-3
Feature set for selected hardware board ........................... 5-4
Settings .................................................. 5-4
Remove reset function ......................................... 5-5
Description ................................................ 5-5
Settings .................................................. 5-5
Dependencies .............................................. 5-5
v
Contents
1 / 1456 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans l'interface ou les textes ? Ou savez-vous comment améliorer l'interface utilisateur de StudyLib ? N'hésitez pas à envoyer vos suggestions. C'est très important pour nous!