Whats wrong with tester_app_3?
Show older comments
I am not sending the functions that are needed to run the app and neither the other app required to run the app since they are many functions and the problem is in tester_app_3.
Do I need a while loop somewhere?
Seems the values for the table osmotic data aren’t saved in my table columns when I run the app?
I think there is something missing in tester_app_3 which I can’t see.
Do I need a loop to accumulate the column values in osmotic data, I just get the last value printed. It also seems that the program doesn’t start on zone nr 1 when I start the app again though I have deleted the previous files by writing the syntax delete(file).
I have matlab 2018
8 Comments
Voss
on 3 Mar 2024
Please provide all the code (apps and m-files) needed to run the app, and please describe the steps necessary to reproduce the problem.
Muazma Ali
on 18 Mar 2024
Muazma Ali
on 18 Mar 2024
Voss
on 18 Mar 2024
You can avoid the limit tomorrow by zipping all the necessary m-files into a single zip file and uploading the zip file.
Muazma Ali
on 19 Mar 2024
Voss
on 19 Mar 2024
Thank you for the files.
I followed the instructions:
- Run tester_app2.mlapp
- Enter 3 for Nr of zones and 3 for Nr of salts
- Click Choose salts! button
- Selected CaCl2, MgCl2, and ZnBr2
- Clicked Start_analysis button
At that point, I got an error that "beregn_ionic_strength_best_salts_CaCl2_MgCl2_ZnBr2" was not defined, on line 235 of "Amongst_CaCl2_MgCl2_ZnBr2_test.m". Noticing there was an m-file called "beregn_ionic_strength_best_salts_CaCl2_MgCl2_ZnBr2_tester.m", I made a copy of that and renamed the copy "beregn_ionic_strength_best_salts_CaCl2_MgCl2_ZnBr2.m", then clicked the Start_analysis button again.
This time I got an error that "vannaktivitet_best_salt_1" is not defined, on line 146 of "beregn_ionic_strength_best_salts_CaCl2_MgCl2_ZnBr2.m". Indeed, that variable is not defined anywhere in that file [but it is defined in "Amongst_CaCl2_MgCl2_ZnBr2_test.m" (under certain conditions at least) and in "Amongst_NaCl_KCl_ZnBr2_test.m" (under certain conditions at least)].
Muazma Ali
on 19 Mar 2024
Muazma Ali
on 20 Mar 2024
Accepted Answer
More Answers (1)
Muazma Ali
on 21 Dec 2024
0 votes
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!