Hello Saranya,
Can you elaborate on exactly what you wish to accomplish? One way to load a .m file into the MathScript node is to right-click on the border and select "Import..." This will let you browse for a file to put in the node. Do you want to run a different script based on different iterations when the node executes? If so, perhaps a switch statement would work to switch among the different functions you wish to call. Do you truly need to run a different, and perhaps unknown, script each time the node executes? If so, perhaps the eval command will work for you. You may also find the path command helpful when using eval. Note that these commands will not work in the Run-Time Engine. Also, in LabVIEW 8.5, you will not see a performance gain in your script if you use these functions. If this does not answer your question, please tell me more about your application.
Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments