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 CenterFile Exchange에서 Fuzzy Inference System Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by