java调用matlab的jar包

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xd15010130025/article/details/88546465

具体步骤

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();

	}

}

遇到的问题

参考文献

猜你喜欢

转载自blog.csdn.net/xd15010130025/article/details/88546465