Changes between Version 1 and Version 2 of RunEcosimViaConsoleApplication
- Timestamp:
- 2010-12-26 10:20:47 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RunEcosimViaConsoleApplication
v1 v2 1 1 = Run Ecosim via Console Application = 2 2 3 This tutorial will guide you through how to make an console application that would run Ecosim and Ecospace. 3 This tutorial will guide you through how to make an console application that would run Ecosim and Ecospace. You can extend these to make applications such as monte carlos routines, or create/modify multiple databases. 4 4 5 5 This tutorial will extend the EweConsoleAppExample tutorial. … … 15 15 }}} 16 16 17 3. Add the following code after the sub routine {{{ End Sub }}} which is the function that you defined in step (7). 17 3. Add the following code after the sub routine {{{ End Sub }}} which is the function that you defined in step (7). The following sub routine will print the biomass of group 1 at every timestep. 18 18 19 19 {{{ … … 28 28 }}} 29 29 30 4. Hit F5 or in the menu, Debug>Start Debugging. 30 4. Hit F5 or in the menu, Debug>Start Debugging. You should get the following output. 31 31 32 32 {{{ … … 39 39 }}} 40 40 41 The .vb file can be found at the bottom of this page. Simply replace this file with the EwE7.vb found in the EweConsoleAppExample tutorial.41 You can run the code by loading the EweConsoleAppExample tutorial, and overwrite its file EwE7.vb with the code file found at the bottom of this page.