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

2 次查看(过去 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