During update diagram I get Recursion found while evaluating property values
3 ビュー (過去 30 日間)
古いコメントを表示
I have constructed a model with several s-functions and bus definitions. Update diagram fails with message:
"Recursion found while evaluating property values"
I could not find anything specific in Mathworks help or online describing what that means - what properties is it refering too? How do I debug this?
0 件のコメント
回答 (1 件)
Muskan
2023 年 5 月 17 日
Hi Rick,
As per my understanding of the question, the error message "Recursion found while evaluating property values" in MATLAB means that MATLAB is trying to evaluate a property that depends on itself. This can happen if you have a property that is set to the name of another property. For example, if you have a property called "Name" that is set to the value "Name", then MATLAB will try to evaluate the property "Name" which depends on itself. This will cause an infinite loop and MATLAB will generate the error message "Recursion found while evaluating property values".
To fix this error, you need to make sure that no property depends on itself. You can do this by changing the value of the property so that it does not depend on itself. For example, you could change the property "Name" to the value "MyName". This will fix the error and MATLAB will be able to evaluate the property without an infinite loop.
If you are still getting this error, you can try to debug your code by using the MATLAB debugger. The debugger will allow you to step through your code line by line and see what is happening. This can help you to identify the source of the error and fix it.
Thanks
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!