On 03/28/2018 11:24 PM, Rishika Sen wrote:
> I tried these options too as suggested by Paul...
>
h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')")
> '??? Error using run (line 41)\nH:\\rishika\\MATLAB\\filewrite.m not
> found.\n\n'
Crazy question, but you're sure of that path?
h.E
You might have better mileage using the python path routines to create
the path/file names. Set the path the routines documented in
os.path().
On Wed, Mar 28, 2018 at 10:24 PM, Rishika Sen wrote:
> error persists
h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')")
> '??? Error using run (l
error persists
>>> h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')")
'??? Error using run (line 41)\nH:\\rishika\\MATLAB\\filewrite.m not found.\n\n'
>>> h.Execute ("run(r'H:\rishika\MATLAB\filewrite.m')")
'??? Error: Unexpected MATLAB expression.\n\n
--
https://mail.python.org/mailman/listinf
I tried these options too as suggested by Paul...
>>> h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')")
'??? Error using run (line 41)\nH:\\rishika\\MATLAB\\filewrite.m not found.\n\n'
>>> h.Execute ("run(r'H:\rishika\MATLAB\filewrite.m')")
'??? Error: Unexpected MATLAB expression.\n\n
--
htt
On 28 March 2018 at 10:23, wrote:
> So I am using the following code to call a Matlab(2016a) function from
> python(3.6).
>
>>>import win32com.client
>>>h = win32com.client.Dispatch('matlab.application')
>>>h.Execute ("plot([0 18], [7 23])")
>
> When I am using the 'Execute' statement to run a m
I am using WinPython 3.6
--
https://mail.python.org/mailman/listinfo/python-list
So I am using the following code to call a Matlab(2016a) function from
python(3.6).
>>import win32com.client
>>h = win32com.client.Dispatch('matlab.application')
>>h.Execute ("plot([0 18], [7 23])")
When I am using the 'Execute' statement to run a matlab file from python, I use
the statement on
"hrh1818" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> There is a module named pymat avvailable from
> http://sourceforge.net/projects/pymat that provides a limited set of
> functions for intertfacing Python to Matlab.
I think that pymat was superceded by mlabwrap
http://mlabwrap
"Mohammed Smadi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi;
>
> Does anyone know if we can call matlab for a python or bash script while
> feeding the matlab script some command line arguments? I have an
> interactive matlab script which i want to automate by feeding the arg
There is a module named pymat avvailable from
http://sourceforge.net/projects/pymat that provides a limited set of
functions for intertfacing Python to Matlab. The functions are:
open for opening a Matlab session
close for closing a Matlab session
eval for evaluating a Matlab command
put for sendin
Mohammed Smadi wrote:
> Hi;
>
> Does anyone know if we can call matlab for a python or bash script while
> feeding the matlab script some command line arguments? I have an
> interactive matlab script which i want to automate by feeding the args
> from a script.
Depending on how interactive it
Hi;
Does anyone know if we can call matlab for a python or bash script while
feeding the matlab script some command line arguments? I have an
interactive matlab script which i want to automate by feeding the args
from a script.
I know this is probably more suitable to a matlab group but any i
12 matches
Mail list logo