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

6 views (last 30 days)
[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.

Answers (1)

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

Categories

Find more on Manage Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!