error while executing if condition
4 views (last 30 days)
Show older comments
Dear Friends
in my script coding.. i used if condition in which a solution is obtained within the condition loop and I need to call the obtained solution in subsequent step. but it gives error code: if D==d1 Test_G=1; elseif D==d2 Test_A=1; else Test_P=1; end Test_G Test_A Test_P
error: Undefined function or variable "Test_G".
Error in test_ext (line 35) Test_G
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!