MATLAB: Evaluating a symbolic expression numerically without invoking the syms command

substitutions without syms

Hello
In one matlab file (my_file_1.m), I have created a system of symbolic equations. I have saved out these symbolic equations to an .mat file (my_symbolic_equations.mat).
In a separate file (my_file_2.m), I load: my_symbolic_equations.mat.
I would like to evaluate these equations numerically by substiting into to them numerical values for the symbolic values.
Further, I would like to do this without invoking the syms command within my second m file.
Can this be easily done?
Best Regards
Mike

Best Answer

Save them as function handle in your .mat file. This allows you to use them numerical.
Related Question