What is your error message?
Are you doing
xlswrite('file.xlsx', var1, 'A5')%Note the single quote around A5
xlswrite('file.xlsx', var2, 'B5')%Note the single quote around B5
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!