Why do I received errors in MATLAB App Designer when I exported it to standalone application? (MATLAB 2017b)

4 ビュー (過去 30 日間)
Dear all.
I have encountered some issues when exporting developed application to standalone application in MATLAB App Designer.
I have a fuzzy logic system in the app designer to calculate the output.
Initially, it was working fine when I tried running in MATLAB App Designer. I managed to get the output by inserting whatever values that relevant to the system.
However, when it was being exported to standalone application, the fuzzy logic system did not work at all and there was this error sound occurred whenever I tried to click the button (where it is a callback to calculate result using fuzzy logic toolbox).
I realised that the following error messages received in the command windows of MATLAB.
Screenshot (93).png
May I ask how to solve the issue ? As I have been stucked here and I have no idea how to overcome it.
  1 件のコメント
Li Mun Ng
Li Mun Ng 2019 年 10 月 1 日
The issue regarding the error message was resolved. What I did was I rebuilt the .mlapp that got problem and the entire standalone application is working fine now.
Unfortunately, the issue on fuzzy logic system still perxists as I have tried exporting for several times, but fuzzy logic calculation is still not working in the standalone applicaion.
Does anyone know the possible solution?

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

採用された回答

Subhadeep Koley
Subhadeep Koley 2020 年 1 月 14 日
Hi, whenever you are packaging your app to create a standalone desktop app, you need to put all the required files in the "Files required for your application to run" section of the Application Compiler.
As you are building some Fuzzy Logic application, you need to put your ".fis" file in the "Files required for your application to run" section of the Application Compiler. So that the ".fis" file can be accessed by the readfis function.
Give this a try. This might help!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFuzzy Inference System Modeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by