Info

This question is closed. Reopen it to edit or answer.

Can not assign data for each cell with xlswrite

1 view (last 30 days)
Ali Tawfik
Ali Tawfik on 11 Nov 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi All,
I have a vector and I am trying to write the data into excel, I used xlswrite, which seems working fine, but when I try to assign the xlRange , I mean A2, and so on.. does not working ... For your reference , I am using Matlab 2016a with MAC
Thanks,
clear all; clc;
x=[1 2 3 4 5]'
xlswrite('filename',x,'Sheet1','A2')
xlswrite('filename','x','Sheet1','A1')
%%I would like my output in excel to be started from A2, and A1 is the name of the data...Also, it's not working to assign in sheet

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!