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

1 次查看(过去 30 天)
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.

回答(1 个)

Andreas Goser
Andreas Goser 2023-8-9
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 个评论
Egehan Dorum
Egehan Dorum 2023-8-9
移动:Voss 2023-8-10
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 2023-8-10
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by