Sci cosim: Difference between revisions

662 bytes added ,  5 December 2015
Line 33: Line 33:
5. Run sci_sim_example.m
5. Run sci_sim_example.m


== Function description ==  
== Function description ==
''sci_connect''    - connects to running SciLab with Toolbox Backdoor. It should be used at least once per Octave session.
 
''sci_disconnect''  - disconnects from SciLab with Toolbox Backdoor.
 
''sci_setvar''      - transfers variables from Octave to Scilab workspace. 
 
''sci_getvar''      - transfers variables from Scilab to Octave workspace.
 
''sci_cmd''        - executes single command in Scilab.
 
  ''sci_sim''        - starts xcos simulation in Scilab. In the most cases, .xcos file should be in the Octave current directory. To set simulation duration use End block in Xcos and transfer its parameter as variable from Octave, using sci_setvar.


== Author and Licensing ==
== Author and Licensing ==
12

edits