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 <rishika21...@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: b...@mellowood.ca WWW: http://www.mellowood.ca -- https://mail.python.org/mailman/listinfo/python-list