Can I create an X11 session to install MATLAB?

Best regards,
I’m new to Arch Linux, and I’ve tried three methods:

  1. The method shown in this video: https://www.youtube.com/watch?v=uiDgQlcPsTA
  2. The method shown in this community answer: Matlab Install and After Install
  3. Installing MATLAB from AUR using paru

In method 1, when I try to install it, the interface doesn’t appear and nothing else is displayed; it just says that gnutls-cli --version is older than what the MATLAB installer supports and that I need to download the compatible version. I did that, but it never opens.

In Method 2: I got to step 2 and couldn’t proceed further; an error appears saying “segmentation violation,” and I don’t know what that means. IMPORTANT: During installation, enable “Create symbolic links to MATLAB scripts in /usr/local/bin.” I don’t know what to do there

In Method 3: A “segmentation violation” error appears after installation. It let me install it, but I couldn’t open it, so I ended up uninstalling everything.

I saw that the GUI wouldn’t open on Wayland because it required an Xorg dependency, although there’s information on how to install it as mentioned, but nothing works for me.

Did I do something wrong that caused the installation to fail?