My script behaves differently when I run it from Linux platform

1 回表示 (過去 30 日間)
Javid Moraveji
Javid Moraveji 2022 年 5 月 16 日
編集済み: Javid Moraveji 2022 年 5 月 24 日
I have a script that reads a csv file and generates a couple of text files. It basically uses readcell function several times, perform some calculations and writes a couple of text files.
I run the same script on the same csv from a Windows launched Matlab 2019 and do the same thing from a linux launched Matlab 2020. My generated text files do not match. I do not have the same versions installation at my disposal unfortunately.
Is there something simple and obvious I should change in my m file?
  7 件のコメント
Walter Roberson
Walter Roberson 2022 年 5 月 18 日
Or perhaps there are steps involving near-singular matrices.
Javid Moraveji
Javid Moraveji 2022 年 5 月 18 日
編集済み: Javid Moraveji 2022 年 5 月 24 日
Thanks everyone!
@Jan: I tried my script on the same csv file. You are right about the processing different data sets; however, this is due to the way reacell handles the csv files when there are blank rows in R2020 vs R2019.
I am told that the readcell function (which seems to be fairly new) behavior has changed in R2020; so, nothing to do with the OS.

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

回答 (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