This probably means that you are referring to something like
d(3,3)
while the variable d does not exist.
You might have cleared it somewhere before calling it, or it may not have existed at all.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!