christy 发表于 2015-10-1 22:42

matlab中所有特殊字符的涵义及用途

<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">:      Create vectors, subscript arrays, specify for-loop iterations</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">( )      Pass function arguments, prioritize operators</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">[ ]      Construct array, concatenate elements, specify multiple outputs from function</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">{ }      Construct cell array, index into cell array</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">.      Insert decimal point, define structure field, reference methods of object</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">.( )      Reference dynamic field of structure</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">..      Reference parent directory</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">...      Continue statement to next line</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">,      Separate rows of array, separate function input/output arguments, separate commands</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">;      Separate columns of array, suppress output from current command</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">%      Insert comment line into code</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">%{ %}      Insert block of comments into code</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">!      Issue command to operating system</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">' '      Construct character array</span>
<span style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22.3999996185303px;">@      Construct function handle, reference class directory</span>

页: [1]
查看完整版本: matlab中所有特殊字符的涵义及用途