- Put a try/catch around your code that is throwing the error.
- Use MException.last to retrieve the last error.
try
[17 1]*[1 2 0]
catch ME
end
Later on...
If you still have ME, you can use it. Else:
ME = MException.last
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!