excel - Network path not working for xlswritefig in Matlab -


i trying open workbook located on network path using function xlswritefig. i.e. path not start traditional letter such c:\. instead looks follows:

\\networkmain\folder\to 

when try open excel file on folder in matlab, noticed excel adds current path in front of the path. i.e. if in folder c:\matlab\ excel tries open:

c:\matlab\networkmain\folder\to 

how can prevent happening , redirect network path?

the problem function xlswritefig. solve issue, step function , change following line of code (line 86):

%**op = invoke(excel.workbooks, 'open', [pwd filesep filename]); op = invoke(excel.workbooks, 'open', filename); 

thus remove [pwd filesep] part.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -