Home » Blog » Articles » hlaDeploy

The HLA Toolbox provides a licensing option to export HLA federates developed in MATLAB into standalone executable applications using the MATLAB Compiler. This deployment feature provides a way to run the full federate without MATLAB license. The compiled federate is royalty free, has no restriction and will run on any computer.

To compile your federate, just run the “hlaDeploy” command on the main file (entry point of your MATLAB code).

>> hlaDeploy  mainHelloWorld.m

Building your model for deployment …

Once your model has been built, browse to the “deploy” folder. You can run mainHelloWorld.exe to execute the compiled version of the model. All the required dependencies are included in the package. You can now deploy your HLA federate on other computers.