1,847
edits
(Back to Category:Packages.) |
|||
(5 intermediate revisions by 5 users not shown) | |||
Line 5: | Line 5: | ||
== Installation == | == Installation == | ||
1. Install Octave version 4.0.0 or higher and Scilab v.5.5.2 | 1. Install Octave (version 4.0.0 or higher) and Scilab v.5.5.2 _specifically_ (note: the BackDoor module is currently not supported for the new SciLab v6.0.0 version) | ||
2. Install sockets package in Octave by executing | 2. Install the `sockets` package in Octave by executing | ||
''pkg install -forge | ''pkg install -forge sockets'' | ||
3. Download sci_cosim package from https://github.com/amromanov/sci_cosim | 3. Download the `sci_cosim` package from https://github.com/amromanov/sci_cosim | ||
4. Install sci_cosim package in Octave by executing | 4. Install the `sci_cosim` package in Octave by executing | ||
''pkg install | ''pkg install sci_cosim_0.1.3.tar.gz'' | ||
5. Start Scilab GUI and install | 5. Start the Scilab GUI and install the `Backdoor` toolbox from the main menu: Applications → Module manager - ATOMS → Technical → Backdoor → Install | ||
6. Restart Scilab. If every thing was done | 6. Restart Scilab. If every thing was done correctly, after restarting there will be a message in the command window "BackDoor: listening to connections on TCP port" | ||
You _may_ encounter an error that the files "backdoor.start" / "backdoor.quit" cannot be found. This occurs if the files are named e.g. "BackDoor.start" on the disk (i.e. case-sensitive). Simply rename the files to lowercase and restart SciLab. | |||
== Running demo == | == Running demo == | ||
Line 31: | Line 33: | ||
4. Run Octave and change folder to the one, where you have extracted demo | 4. Run Octave and change folder to the one, where you have extracted demo | ||
5. Run sci_sim_example.m | 5. Load the two packages ''pkg load sockets'' and ''pkg load sci_cosim'' in octave. | ||
6. Run sci_sim_example.m | |||
== Function description == | == Function description == | ||
Line 49: | Line 53: | ||
== Usage cases == | == Usage cases == | ||
In all usage case, described below, user doesn't need to have any knowledge about using Scilab interface and in the most cases | In all usage case, described below, user doesn't need to have any knowledge about using Scilab interface and in the most cases they don't have to know Scilab scripting language. You can use only Xcos and do the rest of things in Octave. | ||
1. Simple dynamic systems rapid prototyping. | 1. Simple dynamic systems rapid prototyping. | ||
Line 170: | Line 174: | ||
Distributed under the New BSD License | Distributed under the New BSD License | ||
[[Category:Packages]] |