Actually I just discovered the reason for the error ! I used to open Matlab from the same icon that used to open the old version. And I didn't change it after I re-installed the software. I replaced it with the new one and it actually opened.
This came to mind becuase I was able to find a workaround to the issue by openning any previous project, which worked. Only the main app didn't work before the fix.