I am using the Matlab pde toolbox to solve an elliptic equation, and I would like to sweep through several values of a parameter uisng Genetic Algorithm. To do this I need to be able to close the pde toolbox from the command line. I have tried using the command "pdetool('exit')", but I get a question dialogue box asking if I want to save the model, and which requires an input from the screen. Is there any way to avoid this?
I would be very grateful for any ehlp you can give.