ext-ms-win-oobe-query-l1-1-0.dll
--
You received this message because you are subscribed to a topic in the Google Groups "Cantera Users' Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cantera-users/KVK3EBwOVfw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cantera-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cantera-users/c9fb4436-cd40-4a3a-a6c3-12fe364383cfn%40googlegroups.com.
Download and install python through Download Python
You must install a python version compatible with your flavor of MATLAB, check compatibility here Versions of Python Compatible with MATLAB Products by Release
Open windows Command Prompt, and follow the Cantera Pip install
C:\Users\aj> py -m venv ct-env-matpy
C:\Users\aj> ct-env-matpy\Scripts\activate
(ct-env-matpy) C:\Users\aj> py -m pip install cantera
Get your python PATH location - You will need the path with your ct-env-matpy in a later step
(ct-env-matpy) C:\Users\aj>where python C:\Users\aj\ct-env-matpy\Scripts\python.exe C:\Users\aj\AppData\Local\Microsoft\WindowsApps\python.exe
Use this Preamble in MATLAB to import canters, change the python Path to your path from the previous step
From here you can call Cantera and other python modules natively in the Python syntax just adding py.cantera before functions, for example.
That should return a 1D flame front in a numpy array, you can easily convert back to a MATLAB vector using the double() function