Reputation: 310
I need to import data from a network socket straight into a Matlab environment for the Scientists on my team to process.
Can I use Java to implement the TCP protocol parsing from within Matlab? The idea is that if the application needs to outgrow Matlab, I would already have the network protocol parsing sorted out.
Upvotes: 1
Views: 63
Reputation: 1727
you can call java classes and their methods directly from Matlab functions or command window
function sock = opensocket()
sock = java.net.Socket(..)
....
Upvotes: 1