This text contains non-empty top-level expressions. It appears to be a script/Function call failed. Function 'Recursive Least Squares Estimator/RLS' (#55.601.763), line 24, c
20 次查看(过去 30 天)
显示 更早的评论
Dear,
After trying to use the block Recursive Least Squares Estimator simulink returns the following errors. Can anyone tell me how to deal with this? Below the list of errors, I put the program from Simulink
回答(1 个)
akshatsood
2024-3-19
编辑:akshatsood
2024-3-19
It appears you are encountering an error message stating, "This text contains non-empty top-level expressions. It appears to be a script." This issue typically arises when there is an expectation for a function name, but instead, a script name is provided.
Based on the snapshots you have attached, "real.m" seems to be identified as a script rather than a function. It is crucial to ensure that function calls are executed correctly, using the appropriate name. It is worth noting that the name of the script and the function defined within the script may not always match, which can lead to such errors. I recommend verifying this to see if it addresses the problem.
If the issue persists, please share your model with me so I can assist you in troubleshooting further.
I hope this helps.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!