function

checkrule - Check rules in fls structure

Calling Sequence

[all_ok,mes]=checkrule(fls)

Parameters

Description

checkrule verify the rule representation in the fls structure.

Examples

// GET A FLS
fls=loadfls(flt_path()+"demos/fan1.fls");
[all_ok,mes]=checkrule(fls);
if (all_ok>0) then
 warning(mes);
end
// Make the first rule invalid
fls.rule(1,1)=500;
[all_ok,mes]=checkrule(fls);
if (all_ok>0) then
 warning(mes);
end

See Also

fls_structure ,  

Author

Jaime Urzua Grez