"The Iraqi Kurdish secession vote is an act of betrayal toward the entire region", he went on.
In the last week following the Kurdish referendum, Turkey has held joint military exercises with Iraq.
Erdogan, who was on a one-day trip to Tehran, said earlier that Ankara was considering taking further measures against Iraqi Kurdistan.
Iranian armed forces spokesman Masoud Jazayeri said the decision to carry out the drills followed a high-level meeting of Iranian commanders where "the territorial integrity and unity of Iraq and the illegitimacy of the independence referendum in northern Iraq were stressed again".
Akar said Iran, Iraq and Turkey will prevent the implementation of separatist plans in the region through joint efforts.
The Iranian defense minister said those behind Iraq's partition must know that they are certainly playing in the hands of the United States and the Israeli regime "because regional countries need peace, security and stability and any move contrary to regional people's demands is doomed to failure".
"The independence referendum in Iraq's Kurdistan is a sectarian plot by foreign countries and is rejected by both Tehran and Ankara", Rouhani told to journalists.
Iraq's autonomous Kurdistan region announced on Tuesday it was calling presidential and parliamentary elections for the beginning of November.
They spoke of the deployment of their own forces to control "de-escalation" zones they decided on in mid-September.
"America and Israel benefit from the vote..."
"Holding the referendum in Iraq's Kurdistan will help the Western-Zionist-Arab front supporting Takfiri terrorism achieve its objectives and is definitely in contradiction to the interests of the Iraqi people, particularly the Kurds", Shamkhani said.
"There is no country other than Israel that recognizes it".
In a televised broadcast Saturday Erdogan claimed that Turkey had been saddened to see some Iraqi Kurds celebrating the independence referendum with Israeli flags.
Rouhani also said that Tehran and Ankara planned to expand economic ties.
Judge Emirsah Bastog read out guilty verdicts for 42 of the 47 defendants, according to a Reuters reporter at the court in Mugla, southwestern Turkey.