Effacer les filtres
Effacer les filtres

Difference in terms of matrix/cell indexing in between Windows PC and a MacBook?

2 vues (au cours des 30 derniers jours)
Egehan Dorum
Egehan Dorum le 8 Août 2023
Commenté : Andreas Goser le 10 Août 2023
Hello!
I am currently using a Macbook Pro 2021 14" with the Apple silicon M1 Pro processor (ARM architecture).
I need to analyze EEG signals by using the Fieldtrip and EEGlab toolboxes in the MATLAB. All scripts are already ready, and I am running them properly on my Mac. However, when I transfer the data and the script files to my supervisor's PC (Windows 10, intel i9 processor), we are getting errors especially in terms of indexing. The errors are usually related to some matrices or cells, and we get errors like "Brace indexing is not available" etc.
After all we fixed those issues on my supervisor's PC, and now I moved the new script back to my Macbook, and I am getting similar issues on my Macbook now.
I have no idea what is happening on the background in between MacOS and Windows, or maybe in between M1 Pro processor (ARM) and his intel i9 processor.
Could anyone please enlighten me in this manner? I would like to know if MATLAB works different on different operation systems or in different processors.

Réponses (1)

Andreas Goser
Andreas Goser le 9 Août 2023
I assume you are using the identical release and update on each installation.
Answering this question may need knowledge of MATLAB's inner workings and it is also worthwhile to investigate if this could be a bug. Please submit a support request and provide code / data and from both installations:
ver -support
  2 commentaires
Egehan Dorum
Egehan Dorum le 9 Août 2023
Déplacé(e) : Voss le 10 Août 2023
Hi again. I am sorry to take your time. We have solved the issue quite easily, the version of one of the toolboxes was different.
Once we made them same on both computers, we are now able to run the codes with no modification needed.
It seems the Matlab has nothing to do with Windows or Mac, or ARM-processor or Intel. The case can be closed, sorry and thanks again!
Andreas Goser
Andreas Goser le 10 Août 2023
No worries, I am relieved you could solve it. So in general, different behavior in different release is possible and carefully reviewed and documented in the release notes.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Timing and presenting 2D and 3D stimuli dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by