Deployment Considerations
R2026bBefore you package MATLAB® code for deployment, verify that your functions, toolboxes, and coding patterns are compatible with the deployment target. The following resources help you identify and resolve deployment issues.
Planning
| Purpose | Resource |
|---|---|
| Check whether your toolboxes support deployment | Compiler Support for MATLAB and Toolboxes |
| Follow patterns and practices that ensure your code packages and runs correctly in deployed environments | Write Deployable MATLAB Code |
Restrictions
| Purpose | Resource |
|---|---|
| Identify functions that are not supported in deployed applications | Functions Not Supported for Compilation by MATLAB Compiler and MATLAB Compiler SDK |
| Understand language-level and framework-level restrictions | Limitations for MATLAB Compiler and MATLAB Compiler SDK |
Run-Time Considerations
| Purpose | Resource |
|---|---|
| Bundle and access data files at run time | Include Additional Files in Packaged Applications |
| Load external shared libraries | Calling Shared Libraries in Deployed Applications |
| Manage credentials without exposing secrets | Handle Sensitive Information in Deployed Applications |
| Ensure code works across Windows, Linux, and macOS | Ensure Multiplatform Portability for Compiled Applications |
Web Apps
| Purpose | Resource |
|---|---|
| Write apps that package and run cleanly on MATLAB Web App Server™ | Best Practices for Authoring Web Apps |
| Identify unsupported functionality for web apps | Web App Limitations and Unsupported Functionality |
Simulink
| Purpose | Resource |
|---|---|
| Identify supported Simulink® model configurations | Simulink Compiler Requirements and Limitations (Simulink Compiler) |