Error "Unable to resolve name" issue
古いコメントを表示
I recently updated to 2019b and since then I have been having problems with certain functions. For example I get the following error:
Unable to resolve the name mSIPRO.file.gConfig.load.
The folder structure is below and the function is located in +gConfig

I have had this folder structure and this particular function for many years and have been using it on a regular basis without issue.
I tried changing the name to "gLoad" but I got the same error.
Is this due to some change to 2019b, or due to an installation problem, or is it likely I have made a change that has made my code unusable?
2 件のコメント
Ravneet Kaur
2021 年 6 月 10 日
function y=temperature(K)
global Kp;
global Ki;
global Kd;
Kp(1)=0;
Ki(1)=0;
Kd(1)=0;
Kp(2)=K(1);
Ki(2)=K(2);
Kd(2)=K(3);
x=out.out();
s=size(x);
e=0;
This is my code for matlab and i am facing the same issue of unable to resolve the name out.out Can anyone please help me with this? I have tried the restoredefaultpath command but that does not helped me.
Walter Roberson
2021 年 6 月 10 日
You have not used "import" to import any java path or package, and it is not obvious to us that you have a package directory +out or a class directory @out in your MATLAB path. "out" is not a class or package provided by Mathworks, and you do not appear to have any struct or class variable named out in your workspace.
Please also read http://www.mathworks.com/help/matlab/math/parameterizing-functions.html and http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3Fand get rid of those global() variables if possible.
採用された回答
その他の回答 (2 件)
kannan R
2023 年 10 月 10 日
1 投票
Unable to resolve the name 'ij01366.xml'.
1 件のコメント
Walter Roberson
2023 年 10 月 10 日
You have a line of code that probably looks something like
readstruct(ij01366.xml)
when you would instead need
readstruct('ij01366.xml')
thai doan
2025 年 4 月 13 日
0 投票
Error:Unable to resolve the name 'data.Connection.SerialModule'.
1 件のコメント
Walter Roberson
2025 年 4 月 13 日
That does not appear to be anything provided by Mathworks.
There is a vague possibility that it has something to do with serial modules for TI2000 systems.
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!