Why is the lamp not changing color?

2 views (last 30 days)
Muazma Ali
Muazma Ali on 22 Feb 2023
Commented: Image Analyst on 22 Feb 2023
This question was flagged by Voss
In the app.2 that the boreholestability app is usig, I have coded a criterion for the lamp to change the color from green to red but it is not changing the color . I am wondering why it is not changing the color..
  4 Comments
Muazma Ali
Muazma Ali on 22 Feb 2023
I am now attaching a shorter code within the app2 file so it is easier for people to see what I have done. Right now I am just bothered about the lamp problem so therefore, I shortened the code..
Image Analyst
Image Analyst on 22 Feb 2023
You can't do this:
app.NumberofsaltsEditField.Value=[]
you must set it to a number, not null or a string.

Sign in to comment.

Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!