Remote Method Invocation for Client-Server Applications
You can expand your application's throughput capacity by taking advantage of Remote Method Invocation (RMI), the Java® native remote procedure call (RPC) mechanism. The way MATLAB® Compiler SDK™ implements RMI technology to automatically generate interface code that enables components to start in separate processes on one or more computers, making your applications scalable and adaptable to future performance demands.
You can use RMI in the following ways:
Run a client and server on a single machine.
Run a client and server on separate machines.