Solving for Steady State with an external matlab file

Hi,
I can find the solution to the steady state of my model using two matlab files. Since my steady state equations are nonlinear, I'm using fsolve. fertility1_steadystate.m and steady_state.m codes work fine for finding the steady state solutions, however I couldn't find a way to make the .mod file get the results. I think Dynare has a problem on calling a function that depends on another function. What would you suggest me to do?
Thank you for your concern.
I can find the solution to the steady state of my model using two matlab files. Since my steady state equations are nonlinear, I'm using fsolve. fertility1_steadystate.m and steady_state.m codes work fine for finding the steady state solutions, however I couldn't find a way to make the .mod file get the results. I think Dynare has a problem on calling a function that depends on another function. What would you suggest me to do?
Thank you for your concern.