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

[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)

[newresult, dd_result, missing] = mfileVsExcel(Data, rawData, DD, m_file, result, dd_result, missing)
result = newresult;

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 4 Mar 2020

Answered:

on 4 Mar 2020

Community Treasure Hunt

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

Start Hunting!