Skip to main content
1-Visitor
Solved

Rkadapt This Function Cannot Be Used Here

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

23-Emerald V

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.

4 replies

23-Emerald V

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.

Translate
1-Visitor

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

Translate
23-Emerald V

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

Translate
1-Visitor

Thanks Stuart.

Translate