634 lines
10 KiB
HTML
634 lines
10 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script language="JavaScript" type="text/javascript">function rtwTableShrink(o) {var t = o.nextSibling;if (t.nodeType != 1) {t = t.nextSibling;}if (t.style.display == "none") {t.style.display = "";o.innerHTML = "[-]"} else {t.style.display = "none";o.innerHTML = "[+] ... "}}</script><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>
|
||
|
Code Interface Report for Arduino_skal
|
||
|
</title>
|
||
|
|
||
|
</head>
|
||
|
<body ONLOAD="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdCodeInterface'); else local_onload();}} catch(err) {};">
|
||
|
<h1>
|
||
|
Code Interface Report for Arduino_skal
|
||
|
</h1>
|
||
|
<h3>
|
||
|
Table of Contents
|
||
|
</h3>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="#sec_Entry-Point_Functions">
|
||
|
Entry-Point Functions
|
||
|
</a>
|
||
|
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#sec_Inports">
|
||
|
Inports
|
||
|
</a>
|
||
|
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#sec_Outports">
|
||
|
Outports
|
||
|
</a>
|
||
|
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#sec_Interface_Parameters">
|
||
|
Interface Parameters
|
||
|
</a>
|
||
|
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#sec_Data_Stores">
|
||
|
Data Stores
|
||
|
</a>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
<h3>
|
||
|
<a name="sec_Entry-Point_Functions">
|
||
|
Entry-Point Functions
|
||
|
</a>
|
||
|
|
||
|
</h3>
|
||
|
<p>
|
||
|
Function: <a href="Arduino_skal_cpp.html#fcn_initialize">initialize</a>
|
||
|
</p>
|
||
|
<table width="100%" class="AltRow" cellspacing="0">
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Prototype
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
<b>
|
||
|
void initialize(void)
|
||
|
</b>
|
||
|
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Description
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
Initialization entry point of generated code
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Timing
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
Must be called exactly once
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Arguments
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
None
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Return value
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
None
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Header file
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
<a href="Arduino_skal_h.html">Arduino_skal.h</a>
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
<p>
|
||
|
Function: <a href="Arduino_skal_cpp.html#fcn_step">step</a>
|
||
|
</p>
|
||
|
<table width="100%" class="AltRow" cellspacing="0">
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Prototype
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
<b>
|
||
|
void step(void)
|
||
|
</b>
|
||
|
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Description
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
Output entry point of generated code
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Timing
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
Must be called periodically, every 0.2 seconds
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Arguments
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
None
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Return value
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
None
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Header file
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
<a href="Arduino_skal_h.html">Arduino_skal.h</a>
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
<p>
|
||
|
Function: <a href="Arduino_skal_cpp.html#fcn_terminate">terminate</a>
|
||
|
</p>
|
||
|
<table width="100%" class="AltRow" cellspacing="0">
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Prototype
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
<b>
|
||
|
void terminate(void)
|
||
|
</b>
|
||
|
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Description
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
Termination entry point of generated code
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Timing
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
Must be called exactly once
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Arguments
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
None
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Return value
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
None
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="25%" align="left" valign="top">
|
||
|
Header file
|
||
|
</td>
|
||
|
<td width="75%" align="left" valign="top">
|
||
|
<a href="Arduino_skal_h.html">Arduino_skal.h</a>
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
<h3>
|
||
|
<a name="sec_Inports">
|
||
|
Inports
|
||
|
</a>
|
||
|
|
||
|
</h3>
|
||
|
<p>
|
||
|
No Inports in model.
|
||
|
</p>
|
||
|
<h3>
|
||
|
<a name="sec_Outports">
|
||
|
Outports
|
||
|
</a>
|
||
|
|
||
|
</h3>
|
||
|
<p>
|
||
|
No Outports in model.
|
||
|
</p>
|
||
|
<h3>
|
||
|
<a name="sec_Interface_Parameters">
|
||
|
Interface Parameters
|
||
|
</a>
|
||
|
|
||
|
</h3>
|
||
|
<span title="Click to shrink or expand table" onclick="rtwTableShrink(this)">[-]</span><table width="100%" class="AltRow FirstColumn" cellspacing="0">
|
||
|
<tr class="heading">
|
||
|
<th width="42%" align="left" valign="top">
|
||
|
<b>
|
||
|
Parameter Source
|
||
|
</b>
|
||
|
|
||
|
</th>
|
||
|
<th width="26%" align="left" valign="top">
|
||
|
<b>
|
||
|
Code Identifier
|
||
|
</b>
|
||
|
|
||
|
</th>
|
||
|
<th width="21%" align="left" valign="top">
|
||
|
<b>
|
||
|
Data Type
|
||
|
</b>
|
||
|
|
||
|
</th>
|
||
|
<th width="10%" align="right" valign="top">
|
||
|
<b>
|
||
|
Dimension
|
||
|
</b>
|
||
|
|
||
|
</th>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
K
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[1 4]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
Kr
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S53>/L*(y[k]-yhat[k|k-1])
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<Root>/Constant
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[1 2]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S1>/X0
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[4 1]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S1>/A
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[4 4]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S1>/B
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[4 1]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S1>/C
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[2 4]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S2>/CovarianceZ
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[4 4]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S2>/KalmanGainL
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[4 2]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S1>/D
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
[2 1]
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<Root>/Step
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<Root>/Step
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<Root>/Step
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<Root>/Saturation
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<Root>/Saturation
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
real_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S51>/isSqrtUsed
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
boolean_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td width="42%" align="left" valign="top">
|
||
|
<S1>/Enable
|
||
|
</td>
|
||
|
<td width="26%" align="left" valign="top">
|
||
|
<i>
|
||
|
Defined externally
|
||
|
</i>
|
||
|
|
||
|
</td>
|
||
|
<td width="21%" align="left" valign="top">
|
||
|
boolean_T
|
||
|
</td>
|
||
|
<td width="10%" align="right" valign="top">
|
||
|
1
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
<h3>
|
||
|
<a name="sec_Data_Stores">
|
||
|
Data Stores
|
||
|
</a>
|
||
|
|
||
|
</h3>
|
||
|
<p>
|
||
|
No data stores in the model; note that this report lists only data stores with non-auto storage class and global data stores
|
||
|
</p>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|