s-amouyal12 / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

Error using main program #218

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello! 
I'm using Cantera to solve a problem about chemical kinetics. I have already 
finished the file << .cti >> "Gas Phase Chemical Kinetics Package". And 
everything is ok. But when i use the main program to use this file, there is a 
problem likes :

Error using tf (line 293)
The values of the "num" and "den" properties must be row vectors or cell
arrays of row vectors, where each vector is nonempty and containing
numeric data. Type "help tf.num" or "help tf.den" for more information.

Error in step (line 97)
   sys = tf(a,b);

Error in test (line 20)
tnow = step(r, t); % take one internal timestep

I wish someone can help me and thx a lot

Original issue reported on code.google.com by zbl0...@gmail.com on 5 May 2014 at 6:15

GoogleCodeExporter commented 9 years ago
I think you have something wrong with your Matlab path. It should be finding a 
copy of 'step.m' with the Cantera toolbox, but instead it is only finding a 
different copy of 'step.m' included with Matlab. 

If you have further issues, feel free to ask a question on the Cantera User's 
Group (and include the code you are trying to run), but it doesn't appear that 
there is any problem with Cantera here that needs to be addressed.

Original comment by yarmond on 5 May 2014 at 9:37