My script behaves differently when I run it from Linux platform

조회 수: 4 (최근 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 CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by