1
subroutine mexfunction(nlhs,plhs,nrhs,prhs)
2
c simple example of fortran mex.
3
c usage a=mexf3(2) see builder.sce
5
integer*4 plhs(*), prhs(*)
6
c FOR 64 bits MACHINES SHOULD BE integer*8
10
call mexerrmsgtxt('Requires ONE input')
13
call mexerrmsgtxt('Requires ONE output!')