mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
added script to set matlab path
This commit is contained in:
parent
9fb3fcfd6a
commit
937b766c2c
@ -59,6 +59,11 @@ try:
|
||||
except:
|
||||
ctpath = "-"
|
||||
|
||||
fm = open(prefix+"/cantera/ctpath.m","w")
|
||||
fm.write("""path(path,'"""+prefix+"""/matlab/toolbox/cantera/cantera')\n""")
|
||||
fm.write("""path(path,'"""+prefix+"""/matlab/toolbox/cantera/cantera/1D')\n""")
|
||||
fm.close()
|
||||
|
||||
print """
|
||||
|
||||
Cantera has been successfully installed.
|
||||
@ -73,7 +78,11 @@ File locations:
|
||||
|
||||
Matlab toolbox """+prefix+"""/matlab/toolbox/cantera/cantera
|
||||
Matlab demos """+prefix+"""/matlab/toolbox/cantera/cantera-demos
|
||||
Matlab tutorials """+prefix+"""/matlab/toolbox/cantera/cantera-tutorials"""
|
||||
Matlab tutorials """+prefix+"""/matlab/toolbox/cantera/cantera-tutorials
|
||||
|
||||
An m-file to set the correct matlab path for Cantera
|
||||
is at """+prefix+"""/cantera/ctpath.m"""
|
||||
|
||||
if ctpath <> "-":
|
||||
print """
|
||||
Python package """+ctpath
|
||||
|
Loading…
Reference in New Issue
Block a user