How do I get results from Matlab in Java?
I can call a .m
file in Matlab from Java and that works fine, but I want to retrieve the results from Matlab and display them in Java. How can I do this?
如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。

评论(1)

matlabcontrol is a Java API which will allow you to do just that. It allows for invoking eval and feval in MATLAB and returning the results to MATLAB. The walkthrough explains with examples how to do this. The walkthrough uses built-in MATLAB functions and commands, but you can use it with your own .m files because using matlabcontrol is just like interacting with MATLAB's Command Window.
发布评论
需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。