Foreign people ATM’s cards from their own country (inclusive Visa, master cards) will not work by the ATM machines in Iran. You can bring the desired amount with you to Iran. The Airport and hotels are good places where you can exchange your currency.