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

2 ビュー (過去 30 日間)
Life is Wonderful
Life is Wonderful 2019 年 12 月 16 日
編集済み: Life is Wonderful 2019 年 12 月 25 日
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.

採用された回答

Adam Danz
Adam Danz 2019 年 12 月 16 日
編集済み: Adam Danz 2019 年 12 月 16 日
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, https://www.mathworks.com/help/matlab/matlab_prog/types-of-functions.html
Additionally, the function getcurrentdir() probably should have an underscore to match the function call. get_currentdir().
  10 件のコメント
Adam Danz
Adam Danz 2019 年 12 月 18 日
High five!
Life is Wonderful
Life is Wonderful 2019 年 12 月 19 日
Hi Adam,
Can you please help me for the below issue as described in the link
Thanks a lot.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeExternal Language Interfaces についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by