using application compiler for embedded target system

1 view (last 30 days)
Create and Install a Standalone Application from MATLAB Code Based on the above link, I have created a standalone application. Executables in the output folder "for_redistribution_files_only" and "for_testing" is not meant to share unless the target system has the correct version of Matlab runtime installed. What should be shared is the installer in the "for_redistribution" output folder. Is that understanding correct ? Sorry, I am new to this. Just want to clarify my understanding.
Another question, is that possible to generate executable for embedded target system running on ARM processor using application compiler ?

Accepted Answer

Chaitra Kulkarni
Chaitra Kulkarni on 2 Dec 2015
Edited: Chaitra Kulkarni on 2 Dec 2015
The "for_redistribution" folder contains the MATLAB Compiler Runtime(MCR) installer bundled with the application executable. Running this installer will help the user to install MCR as well as the compiled application on a system. Alternatively, the user can also install the MCR by downloading it and installing it from MathWorks website. However, installing the MCR from "for_redistribution" folder avoids the hassle of finding and installing the correct version of MCR required for the application to run.
The files in "for_redistribution_files_only" are the executable file of the compiled application and some additional icons required by the application. This folder does not include the installer. Hence if the end user of the application has MCR installed, he can directly run the application executable from the "for_redistribution_files_only" folder.
The files compiled using application compiler are ideally not be suitable for use in an embedded target system. Embedded systems generally have space and time constraints. The complied application needs an additional runtime to be installed on the system before executing the application(which is not suitable for an embedded target). The compiled application may not meet the time constraints suitable for a time critical applications. I would suggest you to try the embedded coder product which converts MATLAB code to C code that is suitable for an embedded system.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!