Ive left the bits in my code where ive used 'solve', 'evalf' untouched as I found out that these parts do not require time to process. The time consuming part was one involving a lot of integration. Since they were easy integrations, ive replaced all the integration with commands involving only addition, subtraction and multiplication. I made this part a function and it compiled successfully.
so ive made the function in seperate worksheets and compiled them. In my actual program, ive replaced the code by something like cpArea1(x,y,z) but i soon figured out this isnt enough. So how do I make it happen??
also, from the help files, i read that the compiled code is saved in a temporary file. How can I save it permanently?