No interface start---command line operation of Matlab under Ubuntu

Source: Internet
Author: User

Run Matlab and functions at the command line

First of all, refer to the command line MATLAB operation parameters definition and role: http://www.cnblogs.com/beanocean/p/3677404.html

To create a sample program: TEST.M

[Plain]View PlainCopy
    1. function test (x, y)
    2. fprintf (Num2str (x+y))
    3. End

CMD under the path of CD to TEST.M, enter the following command:

[Plain]View PlainCopy
    1. Matlab-nojvm-nodesktop-nodisplay-r Test


Matlab can be started in simple interface form. View Task Manager to find that Matlab consumes much less memory at this time than the full GUI version.

If an incoming call is implemented for a function parameter, the following is the form:

[Plain]View PlainCopy
    1. Matlab-nojvm-nodesktop-nodisplay-r "Test (2, 3)"


No interface start---command line operation in Matlab under Ubuntu

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.