This is a follow up to my previous here.
I have the following script
and a class from which the variable n is read by the above script.
I have converted main.m into a executable using the Application compiler. Since I want the user to specify input in `setting` class, this class was not converted into a binary during compilation (i.e. I have excluded the setting.m file from `Files required for your application to run` tab in the Application compiler.)
Here is what I tried: I simply saved main.exe and setting.m class in the same folder and ran !main.
I get the following error
Unable to resolve the name setting.n.
I could have passed `n` as an input argument to the executable like mentioned in my previous post since `n` is a single property defined in setting class. However for my real system , there are more properties defined in settings and I want the user to define all the properties in a single class file from which the rest of functions can access the property values defined. I am not sure how to pass a class to the `main` executable. Suggestions will be really helpful.