Investigate using "screen" or "vnc", if you want to be able to reconnect to the session.
If you want to be able to run the script "in batch", not needing to interact with it after it starts, then if it is a Unix-type system, consider using the system "batch" command, or else use
nohup matlab -nosplash -nodesktop -r "try; script; catch; end" < /dev/null > /dev/null 2> /dev/null
(bourne or ksh derivatives, might need a slightly different syntax on csh)