MATLAB Answers

0

Insufficient number of outputs from right hand side of equal sign to satisfy assignment.

Asked by Ragini Narasimha on 17 May 2019 at 19:39
Latest activity Commented on by Ragini Narasimha on 18 May 2019 at 5:28
this is my code, when i run the second line it is showing the above error , what is the procedure to rectify it.
picture2=double(picture2);
[Left_V,Right_V]=validate(picture2);
Left_V = Left_V*0.026;
Right_V = Right_V*0.026;
bb=Left_V/Right_V;
fprintf('Pixels in Centimeter(Right_V) %0.03f',Right_V);
fprintf('Pixels in Centimeter (Left_V) %0.03f',Left_V);
fprintf('LV/RV ratio is %0.03f',bb)

  2 Comments

What is validate? I suspect it might be a variable rather than a function

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 17 May 2019 at 21:52

[Left_V, Right_V] = deal( validate(picture2) );

  5 Comments

What do you think that validate() does? Is it possibly part of a third-party software package?
i am not sure as when i ran validate on the matlab doci did not arrive at any answer
which validate -all % what does this show?
it says its an invalid expression when i gave the above syntax

Sign in to comment.