Demo Scripts (in decreasing order of complexity):
FCTdemo.m - Demonstrates how to combine MATLAB with CalC
simple.m - Another, simpler demo of 2D field plots in MATLAB, with a spherical obstacle (vesicle)
CaM.par - CalC version 7 example demonstrating cooperative Ca2+ binding by calmodulin.
loop.par - use the "for" loop statement to test convergence with increasing spatial resolution
demoHH.par - In this demo, Hodgkin-Huxley action potential controls GHK equation for Ca2+ current
demoGHK.par - demo script implementing GHK equation for Ca2+ current, with one arbitrary activation gate
demo.par - demo script showing the most basic PDE functionality of CalC.
free.par - free (unbuffered) Ca2+ diffusion around a point source (Ca2+ channel), in spherically symmetric geometry.
ode.par - use CalC to integrate a simple system of ODEs (harmonic oscillator)
calculator.par - primitive simulation-less script introducing the "for" loop and print statements


Make sure to indicate appropriate plot method within the script file:


• To view results in real time using xmgr/xmgrace, include the statement plot.method xmgr, and pipe the output when executing CalC:

     calc.exe scriptName.par | xmgrace -pipe

• To produce plots in a graphics window, include the statement plot.method gl

• To produce ASCII data files readable by MATLAB use mute plots or include the statement plot.print filePrefix (see example FCTdemo.m above).

• To produce binary files readable by MATLAB use binary and dump plot statements (see example readBinaryPlot.m).


Note that Ygl graphics method is no longer supported. Future releases may restore cross-platform built-in graphics capabilities. For more information about plotting, consult the manual.


This material is based upon work supported by the National Science Foundation grant 0417416.
Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author and do not necessarily reflect the views of the National Science Foundation

Victor Matveev
This server is running a Redhat distribution of Linux.
Last modified: Dec 26, 2007