My script behaves differently when I run it from Linux platform

2 vues (au cours des 30 derniers jours)
Javid Moraveji
Javid Moraveji le 16 Mai 2022
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 commentaires
Walter Roberson
Walter Roberson le 18 Mai 2022
Or perhaps there are steps involving near-singular matrices.
Javid Moraveji
Javid Moraveji le 18 Mai 2022
Modifié(e) : Javid Moraveji le 24 Mai 2022
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Text Data Preparation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by