Location: cellLib @ 02b30b08f977 / Scripts / txt2cellml.ps1
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-05-02 16:33:26+12:00
- Desc:
- Add plot title
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/02b30b08f977dc76540b9907cf27883a7d57dc8b/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 }