summaryrefslogtreecommitdiff
path: root/code_devel.md
diff options
context:
space:
mode:
Diffstat (limited to 'code_devel.md')
-rw-r--r--code_devel.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/code_devel.md b/code_devel.md
index 8abd83f..7c1fedd 100644
--- a/code_devel.md
+++ b/code_devel.md
@@ -50,5 +50,13 @@ To integrate it, you need to
3. Similarly modify CMakeLists.txt in _../gr-myblock/python/_ and _../gr-myblock/doc/_ the one in _myblock/_ folder itself; add additional dependeny check if your block requires any.
4. The top_level CMakeLists.txt in _gr36/_ folder should include this line _add_subdirectory(gr-myblock)_
-### Coding a Sci-block
+### Coding a Sci-block
+This section gives hints on how to use Sciscipy in Sandhi to develop blocks. There are two ways of calling Sciscipy from work_function in python.
+
+1. By importing Scilab <br>
+```python
+from scilab import Scilab
+sci_obj = Scilab()
+output_items[0][:2] = sci_obj.rand(1,2) # This outputs a 1x2 Array of Random number generated by Scilab
+```