Variable 'result' is inaccessible. When a variable appears on both sides of an assignment statement, the variable may become temporarily unavailable during processing.

4 次查看(过去 30 天)
[result,dd_result,missing] = mfileVsExcel(Data,rawData,DD,m_file,result,dd_result,missing)
As i'm calling it as a sub-function throwing the following error.
Variable "result" is inaccessible. When a variable appears on both sides of an assignment statement, the variable may become temporarily unavailable during
processing.
In some cases it is thowing the error. if possible someone could help me out from this.

回答(1 个)

Walter Roberson
Walter Roberson 2020-3-4
[newresult, dd_result, missing] = mfileVsExcel(Data, rawData, DD, m_file, result, dd_result, missing)
result = newresult;

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by