Undefined function ‘syms’ for input arguments of type ‘char’, what can I do?
In matlabR2023b, I packaged two m files into an exe file, in need of solving equations, I used the function ‘syms’ in these two m files. There was no problem running these m files before. However, running the generated exe file report errors. The error code is as follows. What is the reason for this? What should I do? Could you please give me some advice? Thank you!
Error code: Undefined function ‘syms’ for input arguments of type ‘char’.
‘syms’ was excluded from packaging for the MATLAB Runtime environment according to the MATLAB compiler license. Have the application owner either resolve the file or function from the code, or use the MATLAB function "isdeployed" to ensure the function is not invoked in the deployed component.
Connect the application owner for more details.
Error in => ceshi1.m at line 14In matlabR2023b, I packaged two m files into an exe file, in need of solving equations, I used the function ‘syms’ in these two m files. There was no problem running these m files before. However, running the generated exe file report errors. The error code is as follows. What is the reason for this? What should I do? Could you please give me some advice? Thank you!
Error code: Undefined function ‘syms’ for input arguments of type ‘char’.
‘syms’ was excluded from packaging for the MATLAB Runtime environment according to the MATLAB compiler license. Have the application owner either resolve the file or function from the code, or use the MATLAB function "isdeployed" to ensure the function is not invoked in the deployed component.
Connect the application owner for more details.
Error in => ceshi1.m at line 14 In matlabR2023b, I packaged two m files into an exe file, in need of solving equations, I used the function ‘syms’ in these two m files. There was no problem running these m files before. However, running the generated exe file report errors. The error code is as follows. What is the reason for this? What should I do? Could you please give me some advice? Thank you!
Error code: Undefined function ‘syms’ for input arguments of type ‘char’.
‘syms’ was excluded from packaging for the MATLAB Runtime environment according to the MATLAB compiler license. Have the application owner either resolve the file or function from the code, or use the MATLAB function "isdeployed" to ensure the function is not invoked in the deployed component.
Connect the application owner for more details.
Error in => ceshi1.m at line 14 package, exe, syms, char MATLAB Answers — New Questions