To use thes functions you need to first set up your python environment and get the necessary API keys for Infura end etherscan.
Download miniconda and from the cmd do "pip install web3".
Then use the following matlab command to set the path to your miniconda python envronment,
Set up a wallet:
Download metamask browser extension and create a wallet unless you already have one. Then open the wallet and retrieve the address and key.
Address should look something like this: 0x830BBe006X2Xd0a4c815X9xBx193515x1c4B06xx
Key should look something like this: 0x817065cxxxde3778x72d3705xxxxx603a12363x951cd8346xxx27615f7xxxfxx
Then, go to the functions and replace the infura URL and etherscan key where they are used.
In the getGasPrice.m function is where you need to replace the etherscan key
The other functions, amountOut, approve, swapTokenForToken you need to replace the infura URL
Don't touch the Uniswap.py unless you want to make more functions. There are some functions in there that do not have a corresponding matlab function, and if you want to create those then follow the example of the already existing ones.
Sorry for the inconvinence of having to replace the keys for every function one by one. By the next update they will be loaded from a single file instead.