Location: cellLib @ c05a1749b300 / Scripts / txt2cellml.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-03 15:18:13+12:00
Desc:
Seperate the setlim for plotExp.py; Update readme.txt
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/c05a1749b3003de5c15cc530b579b4671106b978/Scripts/txt2cellml.ps1

## Convert .txt to .cellml
# go to the OpenCOR folder
$dpath= ''
cd $dpath
# model path
$mpath=''
$txtfiles="Para","PASMC"

foreach ($txtfile in $txtfiles)
{
  ./OpenCOR -c CellMLTextView::export $mpath\$txtfile.txt | out-file $mpath\$txtfile.cellml -encoding utf8
}