which degree will open more doors?

These are not comparable.
You will have a muc more peaceful, most likely on a low side compensation wise with no job security life with the Undergrad business. You will have very challenging academics, much more stressful, well compensated, life with great job security after Medical School. There is no pre-med major in UG.
I can tell you about both because I have an MBA and my D. has graduated from Med. School yesterday. She never mentioned that she missied anything in her life, she loved it and certainly had experiences and opportunities in her ealry 20s (she is 25) that are not open at all to the general crowd of the 20 years olds. If you do not love it though, you will not have a chance at completing even at UG level, passing MCAT, etc. If you do not love it, you will fall off pre-med track early in a process.