How do I include a MAT-file in a MATLAB Compiler generated application?

My MAT-file contains data that my deployed application will need. I would like to know how to include this file.

 Accepted Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, read below for any workarounds:
When you issue your MCC command, be sure to use the -a flag to include your file. For more details, type the command "doc mcc" at the MATLAB prompt.

More Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!