programming error message display
programming error message display
(OP)
i want that at certain particular condition, my simulink model should display that 'inputs given are invalid and user should change the inputs'......just wanna make more user interactive model..
is it possible in simulink...if yes, then how?
thanxs in advance
is it possible in simulink...if yes, then how?
thanxs in advance
RE: programming error message display
------------------------------------------------
function y=check_jib(x)
if x<0
error('jib is not defined');
else
y=x;
end
--------------------------------------------------
and save it as check_jib.m
Then write your functionname in the "MATLAB-Function-Block"
If the if expression is true, the simulation stops and gives out the error message