Invalid use of operator

15 visualizaciones (últimos 30 días)
Renee Thompson
Renee Thompson el 17 de Ag. de 2022
Respondida: Bhavana Ravirala el 22 de Ag. de 2022
When I run a script I am getting an error in the line that has the following code: function exp_ComputeFrame()
The error is Invalid use of operator.
  2 comentarios
GandaBerunda
GandaBerunda el 18 de Ag. de 2022
Hi Renee,
Could you please share the script?

Iniciar sesión para comentar.

Respuestas (1)

Bhavana Ravirala
Bhavana Ravirala el 22 de Ag. de 2022
Hi Thompson,
I understand that you are facing an error “functions are nested too deeply” while running your code.
This error occurs when there are a lot of nested ‘for’ loops. The possible workaround for this is to use the "eml.inline" command set to "never" to move sections of code into separate functions.
Or you can eliminate it by reducing the nested loops.
Hope this helps!

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by