You must enter the 'time' variable name as it is in the CellML file, and you can alter the output times. It will create a temporary file, (the suffix of which you can specify,) in order to perform the integration. All cconstants, computed variables, and state variables will be outputted to the matlab workspace for analysis.
time: A string for the operand. Some models use 't', some use 'time' etc.
lengthToRun: The length of time you wish to run the model for(e.g. 0:0.1:10)
suffix: A string for the suffix of the temporary file (e.g. '_temp')
David Cumin (2021). RunMatlabCellML (https://www.mathworks.com/matlabcentral/fileexchange/24546-runmatlabcellml), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!