Invalid use of operator
Show older comments
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 Comments
Renee Thompson
on 17 Aug 2022
GandaBerunda
on 18 Aug 2022
Hi Renee,
Could you please share the script?
Answers (1)
Bhavana Ravirala
on 22 Aug 2022
0 votes
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!
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!