A judge in Orlando granted a request made by federal prosecutors for a mental evaluation of Noor Salman.
The decision came Tuesday.
Salman is the widow of Omar Mateen, who invaded the Pulse nightclub in June 2016, killing 49 people and wounding scores of others before his own death.
Salman is charged with aiding and abetting Mateen, and obstructing law enforcement.
Prosecutors contend that she assisted Mateen in scouting possible locations for an attack, and that she knew of his plans.
Court records indicate that prosecutors are seeking a mental evaluation because Salman's defense attorneys plan to use their client's mental state and overall condition as part of their defense.
The records show that Judge Karla Spaldng, in granting the prosecution's request, ruled that the examination can be done without Salman's attorneys being present and that the examination may be recorded if the mental health official conducting it deems such a move to be appropriate.
Records indicate that the prosecution's authority will most likely conduct the evaluation during the week of August 7.
That's well in advance of a September 1 deadline, according to reports.