how can I connect java with matlab
显示 更早的评论
I need a simple way to connect java wih matlab to call scripts in matlab from java
3 个评论
Matt
2014-12-10
This isn't a complete solution, but if you can make system calls from java then you can start matlab processes with command inputs, which allows you some crude matlab control.
Additionally, if you can probably interface with mexed files if you can interface with C or C++ programs from java.
maha abdelkareem
2014-12-10
编辑:per isakson
2014-12-10
Ned Twigg
2015-10-20
matlabcontrol is fantastic, but it hasn't been updated in a couple years.
I've created a binary-compatible fork on GitHub which is actively maintained called MatConsoleCtl.
- available on Maven Central as com.diffplug.matsim:matconsolectl
- a way to connect to an existing MATLAB session by copy-pasting a string of text to the MATLAB console
- more descriptive error messages in exceptions
- compatibility with OSGi classloaders
- fixed all compiler warnings
- fixed several tricky bugs which were found by FindBugs
I'm happy to accept any GitHub Issues or Pull-Requests, and I'll be keeping it up-to-date and tested.
回答(1 个)
Sean de Wolski
2014-12-10
0 个投票
You can use Builder JA to build java packages from your MATLAB analytics.
类别
在 帮助中心 和 File Exchange 中查找有关 Call Java from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!