My script behaves differently when I run it from Linux platform

1 visualización (últimos 30 días)
Javid Moraveji
Javid Moraveji el 16 de Mayo de 2022
Editada: Javid Moraveji el 24 de Mayo de 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 comentarios
Walter Roberson
Walter Roberson el 18 de Mayo de 2022
Or perhaps there are steps involving near-singular matrices.
Javid Moraveji
Javid Moraveji el 18 de Mayo de 2022
Editada: Javid Moraveji el 24 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Text Data Preparation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by