MATLAB: Please tell me how resole this error. “Error in EXCEL_READ_WRITE (line 10) Excel_open = excel_work​book.open(​filepath); “

openning excel

[FileName,PathName] = uigetfile('*.xlsx','Select the excel based file','MultiSelect', 'off');
temp = ' ';
disp(strcat(FileName, temp , PathName));
excel_object = actxserver ('Excel.Application');
excel_workbook = excel_object.Workbooks;
filepath = fullfile(PathName,FileName);
Excel_open = excel_workbook.open(filepath);

Best Answer

Excel_open = excel_workbook.Open(filepath)
It's Open not open (with uppercase)