Scilab download and install on Windows

© 2020net629

All Rights Reserved.
Created July 13, 2020

Subscribe to our newsletter. Visit our website net629.com


Contents

1  Introduction

1.1  About Scilab

The Scilab is open-source software for scientific computing. It includes hundreds of predefined mathematical functions and a high-level programming language, allowing access to advanced data structures and graphical functions in 2 and 3 dimensions. It has many features such as control, simulation, optimization, signal processing, and Xcos, a model and simulator of hybrid dynamic systems that are provided with the platform.

1.2  Installing Scilab

Describing the process in detail is unnecessary, but you can
find all the information you need on the Scilab website
(https://www.scilab.org/) in download.


Figure 1.1: Website


2  Interface

2.1  Main interface

See Figure 2.1


Figure 2.1: Main interface


2.2  Main interface+SciNotes

See Figure 2.2


Figure 2.2: Main interface+SciNotes


2.3  Main interface menu

2.3.1  File


Figure 2.3: File


  • Run or Ctrl + E: Run script files
  • Open a File or Ctrl + O: Load script files
  • Load environment or Ctrl + L: Load binary files (of
    variables) saved with save
  • Save the environment or Crtl + S: Saves a binary file
    containing variables
  • Current Working Directory: Change the working directory
  • Page setup or Ctrl + P: Print scripts
  • Quit or Crtl + Q: Close the section and exit the Scilab
    environment

2.3.2  Edit


Figure 2.4: Edit


  • Cut or Ctrl + X: ‘Cut’ a text
  • Copy or Ctrl + C: Copy selected text to the clipboard
  • Paste or Ctrl + V: ‘Paste’ what was copied
  • Empty clipboard: ‘Clean’ the clipboard
  • Select all or Ctrl + A: Select all the current text in the
    environment
  • Clear History: ‘Clear’ the history area
  • Clear Console: ‘Clear’ the console area
  • Preferences: Customize the Scilab environment

2.3.3  Control


Figure 2.5: Control


  • Resume: Execution of an instruction continues after a
    pause or due to a stop
  • Abort: Stop the execution of a process
  • Interrupt: Stop a process, equivalent to Ctrl + C

2.3.4  Applications


Figure 2.6: Applications


  • SciNotes: Load the script editor (text editor)
  • Xcos: Load the modeler and simulator of hybrid dynamic
    systems, allowing to create block diagram and graphical
    interfaces
  • Matlab to Scilab translator: Code conversion options from
    Matlab to Scilab
  • Variable Browser: View the variable browser
  • Command History: View the command history
  • File Browser: View the file and folder browser

2.3.5  Help


Figure 2.7: Help


  • Scilab Help or F1: Scilab resources reference
  • Application demonstrations with Scilab
  • Newsfeed: News about Scilab
  • Link: Links about Scilab
  • About Scilab or Shift + F1: About Scilab

2.4  Start a diary session

The diary () function records all actions performed during a console
session. The actions are stored in a .txt file created when we
execute the function by passing the name of this file .txt as an
argument.

Comments:

1. Practice creating the session activity log on the console.
See an example in Listing 2.1;
2. After practice checks, the file log.txt in the folder
generates from the command on line 1.

Listing 2.1: Session activity log
 
1--> y = diary("log.txt"); 
2 
3--> x = 10; 
4 
5--> y = 5; 
6 
7--> z=x+y 
8 z  = 
9 
10   15. 
11 
12--> a=rand(3,2) 
13 a  = 
14 
15   0.2113249   0.3303271 
16   0.7560439   0.6653811 
17   0.0002211   0.6283918

Bibliography

   ]scilab2020e Scilab. Official homepage, [Online, accessed May-2020]. URL
https://scilab.org.