Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property LoadBalancer::$mWriteIndex is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/LoadBalancer.php on line 83
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 174
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 192
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 185
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 202
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 163
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContentHandler::$mModelName is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/ContentHandler.php on line 416
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/context/RequestContext.php on line 332
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property MessageCache::$mMemc is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/cache/MessageCache.php on line 136
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property LoadBalancer::$mWriteIndex is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/LoadBalancer.php on line 83
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Parser::$mPreprocessorClass is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/parser/Parser.php on line 255
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/parser/Preprocessor_DOM.php on line 778
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php:344) in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Feed.php on line 234
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php:344) in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php:344) in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php:344) in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php:344) in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/WebResponse.php on line 37 https://rave.gatech.edu/help/index.php?action=history&feed=atom&title=Working_with_functionsWorking with functions - Revision history2025-12-14T14:30:38ZRevision history for this page on the wikiMediaWiki 1.25.5 Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property BufferingStatsdDataFactory::$prefix is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/libs/BufferingStatsdDataFactory.php on line 38 https://rave.gatech.edu/help/index.php?title=Working_with_functions&diff=3379&oldid=prevAdmin: /* Modifying Functions */2013-08-23T21:20:32Z<p><span dir="auto"><span class="autocomment">Modifying Functions</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:20, 23 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L39" >Line 39:</td>
<td colspan="2" class="diff-lineno">Line 39:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>If you need to modify the function that is used to calculate a variable:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>If you need to modify the function that is used to calculate a variable:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Go to the [[main table]] view.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Go to the [[main table]] view.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*On the [[View tab]], ensure that the correct [[data set]] is selected and the <del class="diffchange diffchange-inline">function </del>variable whose function you want to modify is displayed in the table.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*On the [[View tab]], ensure that the correct [[data set]] is selected and <ins class="diffchange diffchange-inline">that </ins>the <ins class="diffchange diffchange-inline">[[functional </ins>variable<ins class="diffchange diffchange-inline">]] </ins>whose function you want to modify is displayed in the table.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*The column headers of [[functional variables]] are blue. Double click any blue variable name in a column header to open its function in the MATLAB editor.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*The column headers of [[functional variables]] are blue. Double click any blue variable name in a column header to open its function in the MATLAB editor.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Make any changes to the function and save the function.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Make any changes to the function and save the function.</div></td></tr>
</table>Admin Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56 https://rave.gatech.edu/help/index.php?title=Working_with_functions&diff=3378&oldid=prevAdmin at 21:19, 23 August 20132013-08-23T21:19:57Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:19, 23 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L35" >Line 35:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Objective functions are similar to general user-supplied functions, with the following exceptions:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Objective functions are similar to general user-supplied functions, with the following exceptions:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Objective functions get recalculated whenever the user changes the [[data set]], the [[preferences]] or the [[targets]]. General user-supplied functions only get recalculated when the user changes the [[data set]]. Consequently, any function that uses [[Preferences]] or Targets should be set as an Objective function.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Objective functions get recalculated whenever the user changes the [[data set]], the [[preferences]] or the [[targets]]. General user-supplied functions only get recalculated when the user changes the [[data set]]. Consequently, any function that uses [[Preferences]] or Targets should be set as an Objective function.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">=Modifying Functions=</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">If you need to modify the function that is used to calculate a variable:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*Go to the [[main table]] view.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*On the [[View tab]], ensure that the correct [[data set]] is selected and the function variable whose function you want to modify is displayed in the table.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*The column headers of [[functional variables]] are blue. Double click any blue variable name in a column header to open its function in the MATLAB editor.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*Make any changes to the function and save the function.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*On the [[Manage tab]], open the Manage data GUI.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">**Select the appropriate [[data set]] from the menu in the bottom half of the window. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">**Click the "Reevaluate functions" button.</ins></div></td></tr>
</table>Admin Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56 https://rave.gatech.edu/help/index.php?title=Working_with_functions&diff=3376&oldid=prevAdmin: /* Function files created by Rave */2013-08-23T21:08:45Z<p><span dir="auto"><span class="autocomment">Function files created by Rave</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:08, 23 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L34" >Line 34:</td>
<td colspan="2" class="diff-lineno">Line 34:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Objective functions are similar to general user-supplied functions, with the following exceptions:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Objective functions are similar to general user-supplied functions, with the following exceptions:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*Objective functions get recalculated whenever the user changes the [[data set]], the [[preferences]] or the [[targets]]. General user-supplied functions only get recalculated when the user changes the [[data set]]. Consequently, any function that uses [[Preferences]] or Targets should be set as an Objective function. <del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*Objective functions get recalculated whenever the user changes the [[data set]], the [[preferences]] or the [[targets]]. General user-supplied functions only get recalculated when the user changes the [[data set]]. Consequently, any function that uses [[Preferences]] or Targets should be set as an Objective function.</div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">==Function files created by Rave==</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">Whenever you load a function into Rave that is not a .m MATLAB file, Rave creates a .m "wrapper" function that it calls in place of the function you specified. This function in turn calls the original file you specified in a way that is compatible with Rave. </del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">*When you load a .txt function, the .m file that is created contains all the information that was in your .txt file. Rave does not use the .txt file, only the .m file. You can delete or move the original .txt file and it won't break Rave.</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">*When you load any type of function other than a .txt file or a .m file, Rave creates a new .m file to run the function, but it also uses the original file you specified and any other files that depend on this file. Make sure to keep all such dependent files in a place where Rave can find them. </del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<br />
<b>Deprecated</b>: Creation of dynamic property ErrorException::$_mwLogId is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php</b> on line <b>344</b><br />
<br />
<b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/diff/TableDiffFormatter.php</b> on line <b>47</b><br />
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">See also: [[MATLAB search path]]</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
</table>Admin Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/content/TextContent.php on line 56
=Objective Functions=
=Objective Functions=
Fatal error: Uncaught TypeError: MWExceptionHandler::handleException(): Argument #1 ($e) must be of type Exception, Error given in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php:153
Stack trace:
#0 [internal function]: MWExceptionHandler::handleException()
#1 {main}
thrown in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 153
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 344