ZijieZhaoMMHW / m_mhw1.0

A MATLAB toolbox to detect and analyze marine heatwaves (MHWs).
GNU General Public License v3.0
39 stars 14 forks source link

Arrays have incompatible sizes for this operation. #22

Open 7eatriz opened 1 week ago

7eatriz commented 1 week ago

I'm encountering an issue when trying to run the an-example.m code. I'm getting the following error image

I'm using MATLAB 23.2 version (R2023b)

ZijieZhaoMMHW commented 1 week ago

@7eatriz Hi I run the code in R2020 and 2021 and found no error reported. I will try to run it using R2023 later this week. Did you modify the sst_full data? Can I have a look at the snapshot of your workspace in MATLAB?

Cheers, Zijie

7eatriz commented 1 week ago

Hi! I am sending you an image of my workspace in an attachment. I didn't modify the sst_full data. Thank you for your attention!

best regards, Beatriz

Em qua., 26 de jun. de 2024 às 21:58, Zijie Zhao @.***> escreveu:

@7eatriz https://github.com/7eatriz Hi I run the code in R2020 and 2021 and found no error reported. I will try to run it using R2023 later this week. Did you modify the sst_full data? Can I have a look at the snapshot of your workspace in MATLAB?

Cheers, Zijie

— Reply to this email directly, view it on GitHub https://github.com/ZijieZhaoMMHW/m_mhw1.0/issues/22#issuecomment-2192863288, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIWW5IKZS2DCOUQKAXD4KLLZJNPTRAVCNFSM6AAAAABJ5W3UX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJSHA3DGMRYHA . You are receiving this because you were mentioned.Message ID: @.***>

ZijieZhaoMMHW commented 1 week ago

Hi! I am sending you an image of my workspace in an attachment. I didn't modify the sst_full data. Thank you for your attention! best regards, Beatriz Em qua., 26 de jun. de 2024 às 21:58, Zijie Zhao @.> escreveu: @7eatriz https://github.com/7eatriz Hi I run the code in R2020 and 2021 and found no error reported. I will try to run it using R2023 later this week. Did you modify the sst_full data? Can I have a look at the snapshot of your workspace in MATLAB? Cheers, Zijie — Reply to this email directly, view it on GitHub <#22 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIWW5IKZS2DCOUQKAXD4KLLZJNPTRAVCNFSM6AAAAABJ5W3UX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJSHA3DGMRYHA . You are receiving this because you were mentioned.Message ID: @.>

Sorry but I cannot see your attached snapshot.

Cheers, Zijie