Community

Dear All. I'm trying to build a SD simulation games using SD with Anylogic, but due to my lack of experiences on Java, I wonder how can I assign dedicated button to start the model with 3 time step (For example: I don't want to use run simulation button,because the model will run until end time; I want the model stop each 3 time step) One more thing, can I export simulation result to a MS Access or MS SQL database if I'm publishing my Model as Java Applet ? If it is enable to do, how can I do that? Thanks A lot Regards Aziiz
Hi Aziiz 1)Try to use step() method. (getEngine.step()) read the description of it. 2)Connecting any kind of database from java applets is prohibited by AnyLogic's license agreement (in Prof is point 5,D) Best regards Tomas