2.22作业

阅读 15

2024-02-24

首先使用命令

cd /home/ya/CodeTest/Matlab

进入路径:到Matlab文件夹下
然后键入matlab,进入matlab环境,如果main.m文件在Matlab文件夹下,直接键入main即可运行该文件。细节代码如下:

Unable to use key file "ya" (unable to open file)
Using username "ya".
Last login: Thu Feb 22 17:59:56 2024 from 10.111.111.111
[ya@ln01 ~]$ cd /home/ya/CodeTest/Matlab
[ya@ln01 Matlab]$ matlab
MATLAB is selecting SOFTWARE OPENGL rendering.

                            < M A T L A B (R) >
                  Copyright 1984-2019 The MathWorks, Inc.
                  R2019b (9.7.0.1190202) 64-bit (glnxa64)
                              August 21, 2019

Warning: Function narginchk has the same name as a MATLAB builtin. We suggest
you rename the function to avoid a potential name conflict.

To get started, type doc.
For product information, visit www.mathworks.com.

>> main
Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information, click <a
href="matlab:opengl('problems')">here</a>.
    0.1260    0.0148    0.0038    0.0010    0.0002    0.0001    0.0000    0.0000    0.0000

    0.1260    0.0626    0.0343    0.0188    0.0103    0.0056    0.0031    0.0017    0.0009

>>

精彩评论(0)

0 0 举报