The methods for matlab line wrapping are: 1. Directly press the Enter key on the keyboard; 2. Directly enter three black dots, and then press the Enter key on the keyboard; 3. Directly press the "Enter" key on the keyboard. shift enter" key combination.
The operating environment of this tutorial: windows7 system, Dell G3 computer, Matlab Chinese version vR2016b version.
The first method of line wrapping in matlab is: for the code in the m file, you can press the Enter key of the keyboard directly behind the cursor of the code that needs to be wrapped. This situation is usually between the previous line of code and the next line. If a line of code has no operation relationship, use:
The second method of line wrapping in matlab is: for the code in the m file, you can enter three black dots directly behind the cursor of the code that needs to be wrapped, and then press the keyboard once Enter key, these three black dots indicate that there is still an operational relationship between the previous line and the next line:
The third method of matlab line wrapping is: for directly in the Command Window When editing code, you can enter three black dots directly behind the cursor of the code that needs to be wrapped, and then press the Enter key on the keyboard once:
The fourth type of matlab line wrapping The method is: for code edited directly in the Command Window, you can directly press the shift enter key combination on the keyboard behind the cursor of the code that needs to be wrapped:
More Computers For related knowledge, please visit the FAQ column!
The above is the detailed content of How to wrap lines in matlab. For more information, please follow other related articles on the PHP Chinese website!