Please look at the following post to find out the license file:
For the other query, I would suggest you to take a look at the following MATLAB answers post for quick initialization. It details many possible scenarios and I hope this will be helpful!