From e9576e44ef8f0ad67d8cd8a4e025a0f8da0727f8 Mon Sep 17 00:00:00 2001 From: manojgudi Date: Mon, 7 Oct 2013 14:04:07 +0530 Subject: added gr-scimod block+CMake change | compiles fine --- gr-scigen/grc/scigen.xml | 82 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 gr-scigen/grc/scigen.xml (limited to 'gr-scigen/grc/scigen.xml') diff --git a/gr-scigen/grc/scigen.xml b/gr-scigen/grc/scigen.xml new file mode 100644 index 000000000..d8c7a25bf --- /dev/null +++ b/gr-scigen/grc/scigen.xml @@ -0,0 +1,82 @@ + + + + generic + scigen_generic + scigen + + import scigen + scigen.generic() +self.$(id).set_parameters($func_name, $window) + + + IO Type + type + enum + + + + + + + + + + + Num Inputs + num_inputs + 1 + int + + + + Vec Length + vlen + 1 + int + + + + Window + window + 1 + int + + + + Function Name + func_name + "" + string + + + + + $num_inputs > 0 + $vlen > 0 + + in + $(str($type).split('_')[0]) + $vlen + $num_inputs + + + out + $(str($type).split('_')[1]) + $vlen + + +Scilab Generic Block + +> Check if your scilab function requires multiple inputs +> Make sure you have same n_input_items when you have multiple inputs + + -- cgit