"She's not the same person. She's lost it,” Trump said of Pelosi.
An appeals court scheduled oral arguments for July 12 in the case, which pits the president’s attorneys against House Democrats.
The president’s outing came ahead of Memorial Day on Monday.
The polls suggest both main parties will do poorly in the election with Nigel Farage’s Brexit Party taking top spot.
The expected moves would make it harder for China to acquire U.S. technology.
The speaker also said Trump's actions were "villainous to the constitution" in a closed-door meeting.
The speaker has been blamed by Trump and his allies for dooming Wednesday's meeting by publicly accusing Trump of engaging in a "cover-up."