I wrote a symbolic Matlab code which manipulates matrices and vectors for a given problem. The calculations are performed very fast. In order to see the results though I try to print a symbolic expression into a .txt file. Before that I need to convert the sym to a string with char() so then i can fprintf the variable. The char() function is making the code extremely slow and need a lot of memory.
Thanks