How to run Cantera with Matlab
13 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am trying to use Cantera with Matlab to solve a chemical recation problem. However, I can't get the Cantera examples to work in matlab.
Such as,
clear;
clc;
help equil;
if nargin == 1
gas = g;
else
gas = IdealGasMix('gri30.cti');
end
nsp = nSpecies(gas);
phi = [];
Matlab gives me an error when i try to use IdealGasMix('gri30.cti'). I've added the Cantera toolbox to the subfolders and followed the installation instructions on the Cantera website but can't seem to solve this issue.
Any advice?
6 件のコメント
Walter Roberson
2020 年 1 月 27 日
https://www.mathworks.com/matlabcentral/fileexchange/62703-py_addpath-directory-matlab_too
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
