Where can I find the "mcc_component_data.c" file in a C Shared Library deployed with MATLAB Compiler SDK?

4 views (last 30 days)
I am deploying MATLAB codes as a C Shared Library. I developed my workflow with MATLAB R2007a, and wrote some C codes that reference one of the files generated by MATLAB: "mcc_component_data.c".
I have now upgraded to MATLAB R2014a. However, I can no longer locate the "mcc_component_data.c" file in the generate C Shared Library files. Is it still possible to generate this file?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Jun 2023
The "mcc_component_data.c" file is no longer generated for C Shared Libraries starting with MATLAB R2010b. This file used to contain component-related information for ensuring the library's integrity, decrypting the M file(s), capturing runtime options, and defining the MATLAB search path. This information was never intended to be accessed by the end-user, and has since been distributed among the various other files within the generated CTF archive since MATLAB R2010b.
As a result, the only way to generate this file is to compile a C Shared Library in MATLAB R2010a or an earlier release.

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products


Release

R2014a

Community Treasure Hunt

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

Start Hunting!