Hello,
Before i ask my question i want to mention that i am beginner level in matlab.
I wrote in matlab a simple program which is given below:
function [ output_args ] = Untitled( input_args )for i=1:6 for j=1:30 k=1:24; if 6<=k<17 if ruzgaruretimi(k,j)>sulamagider(k,j) sebekein==sebekein elseif ruzgaruretimi(k,j)<sulamagider(k,j) if sdepo>0 sebekein==sebekein sdepo==sdepo-1 elseif sdepo==0 sebekein==sebekein+15.708 end end end end end end
I defined all veriables but i still get this error message:
Undefined function 'ruzgaruretimi' for input arguments of type 'double'.Error in dnm (line 6) if ruzgaruretimi(k,j)>sulamagider(k,j)
How can i solve it?
regards
Best Answer