Page 3 - Demo
P. 3


                                    Interface to Maple%uf09f%uf09fRCPConsult2020-2025Page 33.RegisterMaplespecific dynamic library maplec.dllin STRURELenvironmentFor final binding of STRURELand Mapleyou need to registermaplec.dllin each STRURELmodule (e.g.Comrel). Press theF2key inthe STRURELmodule to open the PreferencesDialog Box.Go to positionStandard Add-onsand check whether this dll is registered.If Mapleinstallation,system runtime environment and binding to STRURELareall made as described aboveyou can start to use the MapleInterface.4.Interaction between STRURELand MapleAmajor partof communication with theMapleInterface is usage of script fileswith extension %u2019.mpl%u2019. Two types of scripts are implemented. The first typeof script describes a real procedurewith a single argument beinga vector containing values of all stochastic variables followed by values of all deterministic parameters as ordered in the Stochastic Model of STRUREL.If the procedure is run from the GUI for testing and debugging the stochastic variables are set to mean values.The return value of this procedure is partialor complete evaluation of theState Function in Symbolic Expression of the STRURELjob.The second type of script may contain any set of commands in Maplelanguage. Such a script must have a statement defining variable %u2019res%u2019as a final return value. Usually, this statement is the last one. We recommend using thefirst type of script, because a description of procedure will be loaded and parsed by the engine once. Then, on runtime, it will be just 
                                
   1   2   3   4   5   6   7   8   9   10