
Problem in using my own function.
Posted:
Nov 25, 1996 9:53 PM


Hi, there!
I just succeeded in translating a FORTRAN subroutine named PNPOLY into m file, which is related to making a geometric model using Randolph Franklin's algorithm(1972), and testing it. But I have still one problem in my mfile. Whenever I execute my mfile, it always return the output value in the screen, although I used semicolon in testing file of that function. My function's prototype is function inout = pnpoly(px,py,x,y,n) and I called it in my MODEL.M file using next command: ... LM(m,n)=pnpoly(i,j,x1,z1,9); <I used ;(semicolon) here surely! ... Because ixj is 31x21 matrix, I need to be sitting absentmindedly more than 3 minutes until forloop is over. Any suggestions?
Thanks in advance.
GiChoul Ahn
 Center for Lithospheric Studies The University of Texas at Dallas Programs in Geosciences __H) 9724079978 O) 9728832843 __R) BE. 3.526 Fax)9728832829

