Location: Single PASMC model (Gosak et al 2014) @ 225052a89a07 / Simulation / src / runSim.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-03 15:39:40+12:00
Desc:
Update README.rst with runSim.psl
Permanent Source URI:
https://models.cellml.org/workspace/83f/rawfile/225052a89a07e1d4baee130b2d102cff2f5393f3/Simulation/src/runSim.ps1

## Run OpenCOR simulation using Python shell in PowerShell:
# If this script cannot be loaded, type "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process" in the PowerShell terminal
# The OpenCOR installation folder path
$dpath= 'C:/Users/wai484/Documents/OpenCOR'
# The simulation Python script directory where the script is present
$mpath='C:/Users/wai484/Documents/SinglePASMC/Simulation/src'
# The simulation Python script
$mfile='simFig4.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile