Skip to main content
1-Visitor
August 27, 2015
Solved

Rkadapt This Function Cannot Be Used Here

  • August 27, 2015
  • 2 replies
  • 3381 views

Why am I getting the "This function cannot be used here." error. My constants have no units.

Best answer by StuartBruff

Andy Stevenson wrote:

Why am I getting the "This function cannot be used here." error. My constants have no units.

Because you have ORIGIN = 0 but are using ORIGIN = 1 indices.  Either decrement you indices or change your ORIGIN.

Stuart

PS. Forgot to add .. you must define ORIGIN before the start of the Text region that has the equations embedded in it, as the start of the Text region defines the scope of the embedded equations and not their vertical positions in the worksheet.

2 replies

23-Emerald V
August 27, 2015

Andy Stevenson wrote:

Why am I getting the "This function cannot be used here." error. My constants have no units.

Because you have ORIGIN = 0 but are using ORIGIN = 1 indices.  Either decrement you indices or change your ORIGIN.

Stuart

PS. Forgot to add .. you must define ORIGIN before the start of the Text region that has the equations embedded in it, as the start of the Text region defines the scope of the embedded equations and not their vertical positions in the worksheet.

1-Visitor
September 2, 2015

The error message was a bit esoteric. Reminds me of ubiquitous FORTRAN SYNTAX error.

23-Emerald V
September 2, 2015

Andy Stevenson wrote:

The error message was a bit esoteric. Reminds me of ubiquitous FORTRAN SYNTAX error.

Hah!  I haven't seen one of those in years! 🙂

Stuart

1-Visitor
August 27, 2015

Thanks Stuart.