具体步骤

function plotTest( )
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
x=0:0.1:1;
y=x+1;
plot(x,y);

end

java代码

package plotTest1;

import com.mathworks.toolbox.javabuilder.MWException;

import plotTest.PlotClass;

public class test {

	public static void main(String[] args) throws Exception {
		// TODO Auto-generated method stub
		PlotClass p=new PlotClass();
		p.plotTest();

	}

}

遇到的问题

参考文献

相关文章: