Why do I receive an error when compiling a MATLAB graphics application?
Show older comments
I am having a problem compiling a stand-alone program that I wrote in MATLAB. The Engine of this file is a MATLAB function that calls a bunch of other files. I used the following MATLAB compiling command to create a stand-alone executable:
mcc -t -B sgl filenames.m
I believe I have the C Math Library, C Graphics Library, and other MATLAB libraries installed. However, I keep receiving the following error message:
ERROR: undefined reference to '_mclMainhg'
Accepted Answer
More Answers (0)
Categories
Find more on C Shared Library Integration 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!