working with excel in MATLAB code

10 ビュー (過去 30 日間)
amirmasoud kochakzadeh
amirmasoud kochakzadeh 2020 年 1 月 2 日
回答済み: amirmasoud kochakzadeh 2020 年 1 月 4 日
Hi every one,
I am working on an excel file that I attach it, and I want to compare two columns of that file and check if the value of them and if they are not equals, return 1. The excel file is not regular and number of rows are variable in each section and some empty cells are between the two sections. Now I want to know that how can I do this?
Thanks so much.
  2 件のコメント
Walter Roberson
Walter Roberson 2020 年 1 月 2 日
Excel Reader warns me that the sheet has formulas with circular references.
amirmasoud kochakzadeh
amirmasoud kochakzadeh 2020 年 1 月 2 日
Hi i fix it again

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

採用された回答

Walter Roberson
Walter Roberson 2020 年 1 月 2 日
Col1 == Col2 | (isnan(Col1) & isnan(Col2))
  2 件のコメント
amirmasoud kochakzadeh
amirmasoud kochakzadeh 2020 年 1 月 2 日
thanks alot Sr.
but aother qustion how can i change the double form matrix to table form
Walter Roberson
Walter Roberson 2020 年 1 月 2 日
array2table
Or these days it often makes sense to use readtable() instead of xlsread()

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

その他の回答 (1 件)

amirmasoud kochakzadeh
amirmasoud kochakzadeh 2020 年 1 月 4 日
thanks alot

カテゴリ

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