in reply to Problem invoking Matlab from Perl: works on Linux, fails on Windows
I vaguely remember something like system(1, $command). You should also check some of the information here.