Tips on Matlab Application-M file line feed, close multiple figure windows

Source: Internet
Author: User

I haven't used MATLAB for research for a long time. I forgot a little bit about it at school and before.

I forgot to use two tips yesterday. I found it online.

1) sometimes write mFile,One rowCodeIt's too long. It needs to be written with a line break, which is easy to read. We need to use three dots and one comma, not three dots, or just one comma.What about commas?).

...,

For example:

Intervalue = (1-(x-INZ) * (iny + 1-y) * (x + 1-indx) * x111 ...,
+ (INZ + 1-z) * (iny + 1-y) * (X-indx) * x112 ...,
+ (INZ + 1-z) * (Y-iny) * (indx + _x) * x121 ...,
+ (INZ + 1-z) * (Y-iny) * (X-indx) * x122 ...,
+ (Z-INZ) * (iny + 1-y) * (indx + _x) * x211 ...,
+ (Z-INZ) * (iny + 1-y) * (X-indx) * x212 ...,
+ (Z-INZ) * (Y-iny) * (indx + _x) * x221 ...,
+ (Z-INZ) * (Y-iny) * (X-indx) * x222 );


2) WhenProgramA lot of Figure windows are generated. If there are hundreds of windows, the manual work is too tired. If it is none, it will affect others. There is a command to close all and close all windows. Of course, if you only want to close one, you can write it as close (Figure name.

Figure (1), figure (2), close (2 ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.