Warning: While loading an object of class 'embedded.fi': in deployed application.

Running the following code in a deployed application:
file_contents = whos('-file',fileName);
Produces the following warning:
Warning: While loading an object of class 'embedded.fi':
Method 'loadobj' is not defined for class 'embedded.fi' or is removed from MATLAB's search path.
when the file fileName contains a fixed-point object.
Running the same code in the MATLAB environment will not produce the warning.
How do I supress the warning?

 Accepted Answer

Answered my own question but hopefully this helps someone else.
Specify the following option in mcc command:
-w off:MATLAB:class:undefinedMethod

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Release

R2016a

Community Treasure Hunt

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

Start Hunting!