https://au.mathworks.com/help/ecoder/ref/linux.createapplicationpackage.html
linux.createApplicationPackage - Create application package for model - MATLAB
This MATLAB function creates an application package file with .mldatx extension for the specified Simulink model with source code.
create applicationlinuxpackagemodelmatlab