Error: Functions cannot be indexed using {} or . indexing.

19 views (last 30 days)
I have this error when i try to execute some script on matlab
My problem is : i have is scrpit which works on matlab 2013 but when i try to use it on matlab 2016 i have this error :
Functions cannot be indexed using {} or . indexing , i d'ont know why!
Someone can tell why this occurs??
thanks.
  7 Comments
stephane teiguim
stephane teiguim on 21 Jan 2020
Yes the error came from MBA_ModuleForm , on my first comment i posted a part of a code of MBA_ModuleForm be cause the script is too long, it take 639 line.
Do you always want that i share it there?
Guillaume
Guillaume on 21 Jan 2020
You've posted part of MBA_MainForm, but the error appears to come from MBA_ModuleForm.
But yes, it would be useful to have the full code. Attach the m file to the question.

Sign in to comment.

Answers (0)

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!