function [xArrayOut,yArrayOut] = ShowPlot(xArrayIn,yArrayIn)
%显示图表
plot(xArrayIn,yArrayIn);
xArrayOut = xArrayIn;
yArrayOut = yArrayIn;
end
1.3在APP页面找到Library Compiler然后打开,如下图
1.4打开后在Type中选.NET Assembly. EXPORTED FUNCTIONS中添加我们前面创建的ExportDllSample.m文件。 PACKAGING OPTIONS中可以选择Runtime included in package或者Runtime downloaded from web. 如下图