MATLAB Answers

Application Compiler One or More feature 'MRC' resulted in Error

3 views (last 30 days)
Jogger on 16 Dec 2019
Edited: Jogger on 25 Dec 2019
I am getting error when I compile the my code for Application Compiler ( Standalone )
Below is my code . It runs fine but throws error when i run the MRC *.exe. Below is my code
I get the error string for "Content = fetchOutputs(Content); ". I have added picture for the error message.


Sign in to comment.

Accepted Answer

Adam Danz
Adam Danz on 16 Dec 2019
Edited: Adam Danz on 16 Dec 2019
When I copy your code into an m file, I instantly see an error at this line. I assume you're getting that error, too.
function WorkingDir = getcurrentdir
If you are treating this file as a function file, either all or none of the functions must end with an end. However, it seems that startupfcn() is the main function and the other functions are nested. In that case, none of the functions need an end.
For more info on function files, local functions, and nested function,
Additionally, the function getcurrentdir() probably should have an underscore to match the function call. get_currentdir().


Show 7 older comments
Jogger on 18 Dec 2019
I just place uigetdir.m in the same directory as the main file. It works great!!
Super help. Thanks a lot Adam.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!