write from MATLAB in to exist excel file

1 回表示 (過去 30 日間)
Samer Husam
Samer Husam 2012 年 6 月 5 日
I have a problem when i want to want to save a value from matlab GUI (User Defined) into MATLAB. when I write the bath for the excel file its great new file with same name !!
Date sheet : the exist excel file
B15: the cell that want to be saved in
here is the code that I use:
a= str2double(get(handles.edit1,'string')); %user inter the value to be saved
xlswrite('G:\MATLAB Examples\Data sheet',a,'Sheet1','B15'); % the cell to be save in
any suggestions for this problem ?
  2 件のコメント
Geoff
Geoff 2012 年 6 月 5 日
Do you have the same problem if you specify the full filename? ie put ".xls" on the end.
Samer Husam
Samer Husam 2012 年 7 月 18 日
this is work... thanks a lot Geoff

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by