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

1 vue (au cours des 30 derniers jours)
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 commentaire
Li Mun Ng
Li Mun Ng le 1 Oct 2019
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?

Connectez-vous pour commenter.

Réponse acceptée

Subhadeep Koley
Subhadeep Koley le 14 Jan 2020
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!

Plus de réponses (0)

Catégories

En savoir plus sur Fuzzy Inference System Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by