Calling Matlab (2016a) function from Python(3.6)

Bob van der Poel bob at mellowood.ca
Thu Mar 29 13:16:37 EDT 2018


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 <rishika21sen at gmail.com> wrote:
> 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/listinfo/python-list



-- 

**** Listen to my FREE CD at http://www.mellowood.ca/music/cedars ****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bob at mellowood.ca
WWW:   http://www.mellowood.ca



More information about the Python-list mailing list