Cannot create a symbolic variable 'BETA' by using syms inside a MATLAB function. code example
Example: using python function by import
(in python3) ---
from .filename import function_name
(in python3) ---
from .filename import function_name