An example of importing Embedded Coder code into the mbed IDE. Currently doesn't connect IO to PWM, ADC, and Encoder, instead provides random inputs and measures execution time.
Dependencies: mbed-dsp mbed Nucleo_pmsmfoc
Diff: html/html/rtwdemo_pmsmfoc_subsystems.html
- Revision:
- 2:bbc155b0b886
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/html/html/rtwdemo_pmsmfoc_subsystems.html Tue Nov 25 07:52:02 2014 +0000 @@ -0,0 +1,219 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><title> +Non-virtual subsystems in rtwdemo_pmsmfoc +</title> + +</head> +<body onload="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdSubsystem'); else local_onload();}} catch(err) {};"> +<h1> +Non-virtual subsystems in rtwdemo_pmsmfoc +</h1> +<div> + +</div> +<div> + +</div> +<h3 name="sec_Code_Mapping" id="sec_Code_Mapping"> +1. Code Mapping <span title="Click to shrink or expand section" style="cursor:pointer;font-weight:normal;" id="rtwIdSubsystem_table_001_control" onclick ="if (top) if (top.rtwTableShrink) top.rtwTableShrink(window.document, this, 'rtwIdSubsystem_table_001', false)"><span class="shrink-button">[<u>hide</u>]</span></span> +</h3> +<table width="100%" name="rtwIdSubsystem_table_001" id="rtwIdSubsystem_table_001" border="0"> +<tr> +<td align="left" valign="top"> +<p> +The following table: <br /><ul> +<li> +provides a mapping from the non-virtual subsystems in the model to functions or reusable functions in the generated code and +</li> +<li> +notes exceptions that caused some non-virtual subsystems to not reuse code even though they were assigned a function packaging setting ('Function packaging' entry on the Subsystem Block Dialog) of 'Auto' or 'Reusable function'. +</li> + +</ul> + +</p> + +</td> + +</tr> +<tr> +<td align="left" valign="top"> +<table class="AltRow FirstColumn" cellspacing="0"> +<tr class="heading"> +<th align="left" valign="top"> +<b> +Subsystem +</b> + +</th> +<th align="left" valign="top"> +<b> +Reuse Setting +</b> + +</th> +<th align="left" valign="top"> +<b> +Reuse Outcome +</b> + +</th> +<th align="left" valign="top"> +<b> +Outcome Diagnostic +</b> + +</th> + +</tr> +<tr class="even"> +<td align="left" valign="top"> +<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:4451')" name="code2model" class="code2model"><S4></a> +</td> +<td align="left" valign="top"> +Auto +</td> +<td align="left" valign="top"> +Inline +</td> +<td align="left" valign="top"> +<FONT COLOR="green">normal</FONT> +</td> + +</tr> +<tr class="odd"> +<td align="left" valign="top"> +<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:5584')" name="code2model" class="code2model"><S11></a> +</td> +<td align="left" valign="top"> +Auto +</td> +<td align="left" valign="top"> +Inline +</td> +<td align="left" valign="top"> +<FONT COLOR="green">normal</FONT> +</td> + +</tr> +<tr class="even"> +<td align="left" valign="top"> +<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:5589')" name="code2model" class="code2model"><S9></a> +</td> +<td align="left" valign="top"> +Auto +</td> +<td align="left" valign="top"> +Inline +</td> +<td align="left" valign="top"> +<FONT COLOR="green">normal</FONT> +</td> + +</tr> +<tr class="odd"> +<td align="left" valign="top"> +<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:5593')" name="code2model" class="code2model"><S10></a> +</td> +<td align="left" valign="top"> +Auto +</td> +<td align="left" valign="top"> +Inline +</td> +<td align="left" valign="top"> +<FONT COLOR="green">normal</FONT> +</td> + +</tr> +<tr class="even"> +<td align="left" valign="top"> +<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:6311')" name="code2model" class="code2model"><S52></a> +</td> +<td align="left" valign="top"> +Auto +</td> +<td align="left" valign="top"> +Inline +</td> +<td align="left" valign="top"> +<FONT COLOR="green">normal</FONT> +</td> + +</tr> +<tr class="odd"> +<td align="left" valign="top"> +<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:5969')" name="code2model" class="code2model"><S62></a> +</td> +<td align="left" valign="top"> +Auto +</td> +<td align="left" valign="top"> +Inline +</td> +<td align="left" valign="top"> +<FONT COLOR="green">normal</FONT> +</td> + +</tr> +<tr class="even"> +<td align="left" valign="top"> +<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:5254')" name="code2model" class="code2model"><S65></a> +</td> +<td align="left" valign="top"> +Auto +</td> +<td align="left" valign="top"> +Inline +</td> +<td align="left" valign="top"> +<FONT COLOR="green">normal</FONT> +</td> + +</tr> + +</table> + +</td> + +</tr> + +</table> +<h3 name="sec_Code_Reuse_Exceptions" id="sec_Code_Reuse_Exceptions"> +2. Code Reuse Exceptions <span title="Click to shrink or expand section" style="cursor:pointer;font-weight:normal;" id="rtwIdSubsystem_table_002_control" onclick ="if (top) if (top.rtwTableShrink) top.rtwTableShrink(window.document, this, 'rtwIdSubsystem_table_002', false)"><span class="shrink-button">[<u>hide</u>]</span></span> +</h3> +<table width="100%" name="rtwIdSubsystem_table_002" id="rtwIdSubsystem_table_002" border="0"> +<tr> +<td align="left" valign="top"> +<p> +The following section provides details on each exception that caused a non-virtual subsystem with a function packaging setting of<br /><ul> +<li> +'Auto' to become an inlined code segment, +</li> +<li> +'Auto' to become a non-reusable function without arguments, or +</li> +<li> +'Reusable function' to become a non-reusable function without arguments. +</li> + +</ul> +<b>Note:</b>This section does not report graphically identical non-virtual subsystems marked as 'Auto' that were not reused due to differences in their functional properties (such as dimensions, datatypes, work vectors, parameters, etc.). You may identify reasons for non-reuse in such cases by inspecting the differences in the functional attributes of the subsystems in the model or in the inlined generated code. +</p> + +</td> + +</tr> +<tr> +<td align="left" valign="top"> +<br /><b>No reuse exception in model</b> +</td> + +</tr> + +</table> + +</body> + +</html>