<< addvar sciFLT complement >>

sciFLT >> sciFLT > checkrule

checkrule

Check rules in fls structure

Calling Sequence

[all_ok,mes]=checkrule(fls)

Parameters

fls:

fls structure

all_ok:

scalar, if all_ok is greater than 0 the some or all rules have incorrect representation.

mes:

string. Return a error message.

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

Authors


Report an issue
<< addvar sciFLT complement >>