Unless I'm misunderstanding something about how Matlab works or about your question, it is very highly unlikely to be possible. From a technical point of view any solution would need to be a full, binary compatible, bug for bug, feature for feature reimplementation of the Matlab C library, (implementing mxGetPr, mxGetN and so on) but binding to Python.
Unless I'm misunderstanding something about how Matlab works or about your question, it is very highly unlikely to be possible. From a technical point of view any solution would need to be a full, binary compatible, bug for bug, feature for feature reimplementation of the Matlab C library, (implementing mxGetPr, mxGetN and so on) but binding to Python. Let me edit my own answer to say the following: If you do have a MATLAB license available there is the excellent package MLAB wrap which does at least part of what you want.
Of course I assume in this case that Matlab is installed on the system... – OlivierB Jul 27 '11 at 20:26 What you're saying might be possible, but it is not what you initially asked.In that case you would need a license of Matlab and would be able to run as many sessions of the MEX file as you have licenses of Matlab, even when doing so from Python. Still it would be technically challenging to bind the Matlab C library to Python. – carlosdc Jul 27 '11 at 22:45 Also I am not lawyer and have not read the Matlab EULA, but doing so might be of questionable legality.
– carlosdc Jul 27 '11 at 22:50 I've edited my answer a little bit. – carlosdc Jul 27 '11 at 17:34.
You can create stand alone shared libraries from Matlab code, e. G mathworks.com/help/toolbox/compiler/mbui.... These you should be able to call from python.
But you need the Matlab Compiler, however, it looks like there is a trial version of it available for free. See also this stackoverflow topic.
You can build a library from a mex file as Mauro pointed out You can use scipy.io. Loadmat safely, the data representation : from: http://docs.scipy. Org/doc/scipy/reference/generated/scipy.io.loadmat.
Html Returns : mat_dict : dict dictionary with variable names as keys, and loaded matrices as values The loaded matrices are as you saved them, i.e. Data representation should be coherent.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.