MATLAB Answers

R2020b: App Designer says can't open File MATLAB failing if condition

1 view (last 30 days)
shubham kumar gupta
shubham kumar gupta on 10 Nov 2020
Commented: Mario Malic on 11 Nov 2020
C:\Users\SHUBHAM\Documents\MATLAB\Dymola_App.mlapp: Can't open file.
What I did is:
I created a GUI in MATLAB using guide it is working
Now I clicked migrate to AppDesigner
When I click Run it says that "C:\Users\SHUBHAM\Documents\MATLAB\Dymola_App.mlapp: Can't open file."
After seeing all this I get to know that it is due to if condition in appdesigner Matlab
if isempty(Fci) || isempty(Fhi) || isempty(Tci)
CRASHES
BUT same with like this works
if isempty(Fci)
How to solve this

  0 Comments

Sign in to comment.

Answers (1)

Mario Malic
Mario Malic on 10 Nov 2020
Try renaming the app,
C:\Users\SHUBHAM\Documents\MATLAB\Dymola_App.mlapp: Can't open file.
On screenshots you have number two added.

  6 Comments

Show 3 older comments

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!