Internal error with symbolic engine

I have written a code for neural networks. It includes symbolic function. The code runs fine for a couple hundred iterations, but after that gives this error:
"Warning: While saving an object of class 'sym': Internal error with symbolic engine. Quit and restart matlab."
Any idea how to get around this?

1 Comment

I suspect that the symbolic expression became so complicated that you are running out of memory while it is trying to save the expression.
Possibly adding vpa() calls might help.

Sign in to comment.

Answers (0)

Asked:

on 7 Jul 2019

Commented:

on 8 Jul 2019

Community Treasure Hunt

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

Start Hunting!