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

3 vues (au cours des 30 derniers jours)
Egehan Dorum
Egehan Dorum le 8 Août 2023
Commenté : Andreas Goser le 10 Août 2023
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
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.


En savoir plus sur Introduction to Installation and Licensing 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