scilab5.4.0_releasenotes

27
Scilab DeSktop Thanks to this new feature, Scilab confirms its usability and its strong user-oriented approach. Scilab desktop is the new concept behind Scilab windows management taking advantage of our docking system (advanced FlexDock features). Out of the box, Scilab is now able to save all windows layouts including the help browser, the variable browser, the command history, SciNotes and Xcos. Through this major improvement, position and size of all windows are saved from a session to another. File browser A file browser component has been developed and fully integrated into Scilab desktop and all other components have been improved to provide the best user experience for Scilab users. Editvar has had important refreshment. It allows plot and subplot, manages almost all Scilab variable types and is much more faster. Scilab desktop provides various predefined layouts: w Simple: The standard Scilab console => Scilab 5.3.3 (and previous versions) defaults. w Integrated: The variable browser, the history browser and the file browser are opened by default and combined around Scilab console to provide an ergonomic workspace. => Scilab 5.4.0 defaults Variable browser has been improved: w The dimension of the variable is shown by default. w The variable browser table is automatically resized when docked. w A tooltip has been added on the type column to display the name of the type. w A tooltip has been added on the size column to display. the size in bytes (like in previous versions of Scilab). w Refresh is automatical. See Bug # 9446. A unique Preferences window has been developed to configure Scilab and its modules. This unique interface can be launched using preferences() function. GRaphicS Entire refactoring of Scilab graphic capabilities in order to solve the known issues of graphical cards compatibilities and many Scilab crashes. Based on SciRenderer (rendering library based on JoGL), Scilab graphics have been rewritten to provide new graphic functionalities with: w Better performances, w Better stability, w 2-D zoom using the mouse wheel, w New 3-D zoom capabilities, w Rotation available through the mouse right-click. SciRenderer is a free and open source library developed by Scilab Enterprises for 2-D and 3-D rendering of scientific data. Improved graphic exports: w Off-screen export (Scilab will not open a window to export with driver). w New bitmap formats supported: PNG, JPEG and BMP in the driver function. w New vectorial formats supported: PDF and SVG in the driver function. w Many portability issues fixed. Obsolete value for line_style property: 0 and 1 are equivalent values for SOLID rendering. A warning message will be displayed if the user tries to set this property to 0. Setting this property to 0 will no more be supported in Scilab 5.4.1. datatips tool improved on several aspects: w It is now possible to manage directional arrows as well as square mark markers. w The automatic label placement has been improved to avoid the overlapping with the curve. w It is now possible to have painted box or box free labels. w Markers can now be selected and moved using the arrow keys or deleted with the "Del" key. Scilab 5.4.0 Release Notes - 1 © 2012 - Scilab Enterprises Scilab 5.4.0 ReleaSe NoteS

Upload: cristian-cisneros

Post on 28-Oct-2014

271 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Scilab5.4.0_ReleaseNotes

Scilab DeSktop

Thanks to this new feature, Scilab confirms its usability and

its strong user-oriented approach. Scilab desktop is the new

concept behind Scilab windows management taking

advantage of our docking system (advanced FlexDock

features).

Out of the box, Scilab is now able to save all windows layouts

including the help browser, the variable browser, the

command history, SciNotes and Xcos. Through this major

improvement, position and size of all windows are saved from

a session to another.

File browser

A file browser component has been developed and fully

integrated into Scilab desktop and all other components have

been improved to provide the best user experience for Scilab

users.

Editvar has had important refreshment.

It allows plot and subplot, manages almost all Scilab variable

types and is much more faster.

Scilab desktop provides various predefined layouts:

w Simple: The standard Scilab console

=> Scilab 5.3.3 (and previous versions) defaults.

w Integrated: The variable browser, the history browser

and the file browser are opened by default and combined

around Scilab console to provide an ergonomic

workspace.

=> Scilab 5.4.0 defaults

Variable browser has been improved:

w The dimension of the variable is shown by default.

w The variable browser table is automatically resized

when docked.

w A tooltip has been added on the type column to display

the name of the type.

w A tooltip has been added on the size column to display.

the size in bytes (like in previous versions of Scilab).

w Refresh is automatical.

See Bug # 9446.

A unique Preferences window has been developed

to configure Scilab and its modules.

This unique interface can be launched using preferences()function.

GRaphicS

Entire refactoring of Scilab graphic capabilities in

order to solve the known issues of graphical cards

compatibilities and many Scilab crashes.

Based on SciRenderer (rendering library based on

JoGL), Scilab graphics have been rewritten to

provide new graphic functionalities with:

w Better performances,

w Better stability,

w 2-D zoom using the mouse wheel,

w New 3-D zoom capabilities,

w Rotation available through the mouse right-click.

SciRenderer is a free and open source library developed by

Scilab Enterprises for 2-D and 3-D rendering of scientific data.

Improved graphic exports:

w Off-screen export (Scilab will not open a window to

export with driver).

w New bitmap formats supported: PNG, JPEG and BMP

in the driver function.

w New vectorial formats supported: PDF and SVG in the

driver function.

w Many portability issues fixed.

Obsolete value for line_style property:

0 and 1 are equivalent values for SOLID rendering.

A warning message will be displayed if the user tries to set

this property to 0. Setting this property to 0 will no more be

supported in Scilab 5.4.1.

datatips tool improved on several aspects:

w It is now possible to manage directional arrows as well

as square mark markers.

w The automatic label placement has been improved to

avoid the overlapping with the curve.

w It is now possible to have painted box or box free

labels.

w Markers can now be selected and moved using the

arrow keys or deleted with the "Del" key.

Scilab 5.4.0 Release Notes - 1© 2012 - Scilab Enterprises

Scilab 5.4.0ReleaSe NoteS

Page 2: Scilab5.4.0_ReleaseNotes

Bug Fixes:

w Bug # 2043 fixed - The graphic function copy() did

not manage axes.

Thanks to Samuel Gougeon for the fix.

w Bug # 4289 fixed - Graphic exports were not working

when the drawlater or the pixmap modes were

activated.

w Bug # 4339 fixed - listvarinfile did not manage

graphic handles.

w Bug # 4818 fixed - Scilab could not export graphics

which contained a lot of information.

w Bug # 6582 fixed - A copy of a handle did not keep

foreground property.

w Bug # 6644 fixed - New graphic windows take care of

default figure properties (uimenu).

w Bug # 7412 fixed - Better management of datatips

activation / deactivation.

w Bug # 7419 fixed - Customization of datatips() is

now available through a GUI.

w Bug # 7998 fixed - %h_get failed on heterogeneous

handle matrix.

w Bug # 8239 fixed - Activation of datatips overwrote

and destroyed any event_handler formerly defined.

w Bug # 8241 fixed - Graphical properties were not

always inherited.

w Bugs # 8250, # 10567, # 10614 fixed - Artefacts

dropped on vectorial exports (EPS / PDF / SVG).

w Bug # 8705 fixed - Some specific graphics could not

be saved.

w Bug # 8916 fixed - Menu to export in PS format was

missing in graphic figures.

w Bug # 8965 fixed - copy function did not work for

handles.

w Bug # 9269 fixed - Specified graphic entities for

legend were drawn in reverse order.

w Bug # 9330 fixed - delete() called overloading

instead of deleting the current graphic entity.

w Bug # 9455 fixed - The contourf and contourf 2

demonstrations displayed unwanted dots.

w Bug # 9721 fixed - tight_limits help page

improved.

Thanks to Samuel Gougeon.

w Bug # 10121 fixed -

polyline.interp_color_vector where not saved or

recoverable by xsave/xload.

Thanks to Samuel Gougeon for the fix.

w Bug # 10240 fixed - In a Scilab localized in French, SVG

export could use "," instead of "." for numerical

separator.

w Bug # 10290 fixed - Error message for bad

assignement of interp_color_vector updated.

w Bug # 10298 fixed - The example of

datatipSetDisplay generated an error.

w Bug # 10331 fixed - datatipCreate produced a

warning and an error instead of a warning if the curve

user_data was not a struct.

w Bug # 10360 fixed - Default format for export is now

PNG instead of BMP.

w Bug # 10365 fixed - To copy a handle to a figure

(instead of an axes) crashed Scilab.

w Bug # 10395 fixed - xset("clipping",

[1,2,3,4]) returned an error.

w Bug # 10417 fixed - xget("background") returned

a wrong value.

w Bug # 10637 fixed - xs2svg crashed when the first

input argument was not a figure handle. An error

message is now displayed.

GUi

Uicontrols tooltip can now be managed using the

new TooltipString property.

Figure closure can now be managed by the user

(confirmation, ...) through the CloseRequestFcn

property.

F5 and F6 change the focus of the docked element.

Improvement in the refresh of the docked elements.

A 'Console' handle has been created and can be

obtained by calling get(0):

w uimenus now appear as Children of this handle

when they are added to the console,

w the ShowHiddenHandles property enables the user

to make some hidden graphic objects visible.

Scilab Console and graphic figure menus are now

uimenus.

They are hidden by default. To see them in the children list,

use set(get(0), "ShowHiddenHandles", "on")

Scilab 5.4.0 Release Notes - 2© 2012 - Scilab Enterprises

Page 3: Scilab5.4.0_ReleaseNotes

New uicontrols added:

w 'image' style uicontrol: display, transformation and

various other operations on images.

w 'table' style uicontrol: display data in a table form

(read-only).

The Value property can now contain non-integer

values and allows to take full advantage of slider

style uicontrols.

See Bug # 7380.

Figure resizing can now be managed by the user

(uicontrol position setting, ...) through the

resizefcn property.

cli coNSole (GNU/liNUx aND Mac oS x oNly)

Wide characters supported.

Multiline command supported.

Command line display improved.

List of shortcuts in NW/NWNI mode:

w CTRL+W removes the previous word.

w CTRL+U removes everything from the current position

to the beginning of the line.

w UP or Ctrl+P recalls the previous line.

w DOWN or Ctrl+N recalls the next line.

w TAB for completion. Scilab displays a list of all names

(functions, variables) that start with the characters

already typed by the user.

w Ctrl + A or HOME moves the cursor to the beginning of

current line.

w Ctrl + B or LEFT moves the cursor one character to the

left.

w Ctrl + D or DELETE deletes the current character.

w Ctrl + E or END moves the cursor to the end of

command line.

w Ctrl + F or RIGHT moves the cursor one character to

the right.

w Ctrl + H or BACKSPACE deletes the previous

character.

w Ctrl + K kills the command line from cursor to the end.

w Alt+B or Ctrl+LEFT moves one word left.

w Alt+F or Ctrl+RIGHT moves one word right.

Bug Fixes:

w Bug # 3108 fixed - Some specific chars in the terminal

were not correctly removed by the backspace.

w Bug # 3400 fixed - Long lines in the history broke the

display.

w Bug # 6804 fixed - Prompt was removed in CLI mode

when playing with arrow keys.

aRNolDi packaGe

New function:

w eigs function added.

See SEP #82

eleMeNtaRy FUNctioNS

New functions:

w dec2base function added.

See SEP #75

w nthroot function added.

See SEP #78

linspace and logspace deprecate the use of

non-integer values as third input argument.

The toeplitz macro is now vectorized.

SpaRSe

qmr function updated and modified.

Calling qmr(F, Fp, x) where F is a function returning A*x

and Fp a function returning A'*x is deprecated. Use qmr(F,

x) instead where F prototype is:

function y = F(x, t)

[...]

endfunction

where t is used to make F return A*x or A'*x. Same

behavior has been implemented for qmr( ..., M1, M1p,

M2, M2p).

See qmr help page for examples and details.

Scilab 5.4.0 Release Notes - 3© 2012 - Scilab Enterprises

Page 4: Scilab5.4.0_ReleaseNotes

Scilab

save/load functions can export / import Scilab data

to SOD format:

w Scilab data are saved and loaded using a standard,

HDF5-based, documented, and fully tested: Scilab Open

Data format (SOD).

w Graphic handles can be saved under the SOD format.

w 'save' writes data to HDF5 format when using new

calling sequence save("filename.sod", "a",

"b", "c"). This format is Scilab 6 compatible.

w 'save' displays a message when using old calling

sequence save("filename", a, b, c) and writes

data in old Scilab binary format. This format will not be

supported by Scilab 6.

w The 'matfile2sci' function now converts MAT-files

to SOD files.

Calling load with a file descriptor as first input

argument is now obsolete.

Please replace the file descriptor by the corresponding file

name. This feature will be removed in Scilab 6.0.0.

Update the default size of the Scilab stack to 100

million elements (instead of 50M).

See stacksize help page for more information.

Scilab Desktop provides a button in dockbar to get

help about the component.

External modules are managed out of the box by

test_run function.

Example: test_run('SCI/contrib/toolbox_skeleton')

See Bug # 9834.

xMl FeatUReS

Version 5.4.0 introduces XML management features.

It allows easy access to XML files, validation and writing.

w XMLObjects - Describes the properties of the different

XML objects.

w xmlAddNs - Adds a namespace to a XML Element.

w xmlClose - Closes a XML document.

w xmlDTD - Creates a XML DTD object.

w xmlDocument - Creates a new XML document.

w xmlDump - Dumps a XML object.

w xmlElement - Creates a new XML element.

w xmlFormat - Formats a Scilab variable into XML.

w xmlGetNsByHref - Gets a namespace by its href.

w xmlGetNsByPrefix - Gets a namespace by prefix.

w xmlGetOpenStreams - Gets all open XML documents

or all open XML Validation files.

w xmlNs - Creates a new XML Namespace.

w xmlRead - Reads a XML stream from a local or distant

file.

w xmlReadStr - Reads a XML tree from a string.

w xmlRelaxNG - Creates a XML Relax NG object.

w xmlSchema - Creates a XML Schema object.

w xmlValidate - Validates a document in using a DTD,

a Relax NG or a Schema.

w xmlWrite - Writes a XML document in a file.

w xmlXPath - Makes an XPath query on a XML

document.

w xmlIsValidObject - Tests the existence of a XML

object.

Those features have been developed in the context of the

OASIS R & D project.

cSV FeatUReS

New functions:

w csvRead - Reads a CSV file.

w csvWrite - Writes data into a CSV file.

w csvTextscan - Transforms a CSV line into a matrix.

w csvDefault - Configures the CSV behavior.

csvRead and csvWrite provide the same features

as read_csv and write_csv with major

improvements in term of usability and

performances:

w Writing performances are improved to a 100x factor,

w Reading performances are improved from 3x to 200x

factor.

Bug Fixes:

w Bug # 8349 fixed - write_csv() failed to support the

writing of complexes with %nan or %inf parts.

w Bug # 8653 fixed - csvRead now returns double

values by default (read_csv still returns string values).

w Bug # 8654 fixed - write_csv did not use the

standard separator and decimal mark.

w Bug # 8656 fixed - write_csv had accuracy issues.

Scilab 5.4.0 Release Notes - 4© 2012 - Scilab Enterprises

Page 5: Scilab5.4.0_ReleaseNotes

w Bug # 9969 fixed - Issues of performances of CSV

functions for large files.

w Bug # 10203 fixed - CSV functions help pages did not

detail the encoding management.

SciNoteS

Marks added in the vertical scrollbar to see the

positions of matching words when an incremental

search is done (via F3 or in selecting text).

In the find / grep tools, possibility added to use ~ as

an alias for user home dir. and SCI for Scilab data

base dir.

'Save and Execute all files' action added.

A tab can be closed in using the middle mouse

button.

Shortcuts META+(UP|DOWN) added to navigate

between paragraphs.

Bug Fixes:

w Bug # 9334 fixed - Extra lines were added when code

was exported into PDF under Windows.

w Bug # 9358 fixed - A simple quoted string was not

always correctly converted into double quoted ones.

w Bug # 9476 fixed - In find/grep tools, the abbreviation

'sec' is now used instead of 'seconds'.

w Bug # 9480 fixed - Words after selection were badly

highlighted under Windows.

w Bug # 9484 fixed - An empty file was not removed

when an existing file was opened.

w Bug # 9488 fixed - There was no popup menu on the

tab to copy the file path.

w Bug # 9505 fixed - A LaTeX string in a comment was

not considered as a comment.

w Bug # 9597 fixed - It was not possible to navigate

across the tabs with <CTRL>+(PAGE_UP |

PAGE_DOWN).

w Bug # 9740 fixed - There was no way to have \n in

replacement string.

w Bug # 9854 fixed - There was a wrong colorization

with strings containing several dots: 'abc..'.

w Bug # 9878 fixed - Shortcut "Correct indentation"

added in right click menu.

w Bug # 9897 fixed - Under Mac OS X, eol was not

replaced by \n when code was copied from Word to

SciNotes.

w Bug # 10157 fixed - Scilab froze when docking

SciNotes due to a FlexDock bug in a previous session.

w Bug # 10252 fixed - The font could not be changed

when SciNotes was docked with the console.

w Bug # 10354 fixed - Bad caret position after a

selection action.

w Bug # 10442 fixed - Sometimes a crash occurred at

start-up when SciNotes was restoring.

w Bug # 10647 fixed - An error message did not respect

Scilab localization standard.

w Bug # 10889 fixed - Exception about block highlighters

was thrown by SciNotes.

call_Scilab

CallScilab.h removed (was deprecated since

Scilab 5.2.0).

Please use call_scilab.h instead.

'int getLastErrorValue(void)' function added.

It now returns the last error code generated by Scilab.

Function 'const char*

getLastErrorMessageSingle();' added.

It now returns the last error message generated by Scilab.

Deprecated functions in call_scilab.h removed:

C2F(readmat), C2F(creadmat), C2F(creadbmat),

C2F(creadcmat), C2F(readchain),

C2F(creadchain), C2F(creadchains),

GetLengthStringMatrixByName, C2F(matptr),

C2F(cmatptr), C2F(cmatcptr), C2F(cmatsptr),

C2F(cmatbptr), getlengthchain

Bug Fix:

w Bug # 10006 fixed - Unrelevant C-comment in the

example of ScilabHaveAGraph removed.

Scilab 5.4.0 Release Notes - 5© 2012 - Scilab Enterprises

Page 6: Scilab5.4.0_ReleaseNotes

JaVaSci

Javasci version 1 removed (deprecated in Scilab

5.3.0).

New datatypes are now supported:

w sparse and boolean sparse,

w tlists, mlists and lists,

w polynomial.

If Scilab fails to start because of a memory issue

(stacksize), a Java exception is now displayed

(InitializationException).

Bug Fix:

w Bug # 10794 fixed - With Scilab built on an Ubuntu

11.10, javasci failed to load with an undefined symbol.

DyNaMic liNk

DEBUG_SCILAB_DYNAMIC_LINK was not available

under GNU / Linux or Mac OS X.

See Bug # 11142.

Bug Fixes:

w Bug # 9432 fixed - Link a 64-bit dynamic library on a

32-bit platform returned a wrong error message under

Windows.

w Bug # 9761 fixed - NDEBUG was not defined for

dynamic link (by default) in release mode under

Windows.

w Bug # 9930 fixed - ilib_build did not display all

filenames used.

w Bug # 10320 fixed - libname argument of

ilib_for_link did not work.

w Bug # 10344 fixed - Windows SDK 7.1 was not

detected with VS Express 2010 under 64-bit platform.

xcoS

Major performance improvements on the simulation

start-up. On important diagrams, the gain is very

important (from minutes to milliseconds).

See Bug # 8188.

Performance improvements on diagram saving /

loading.

A compressed file format is now available (ZCOS)

and allows more flexibility on data format.

Ports styles and labels are now available to external

modules.

New examples are provided in the help pages of the

following blocks:

w ABS_VALUE - Absolute value

w EVTDLY_c - Event delay

w AFFICH_m - Display value

w CLSS - Continuous state-space system

w SELECT_m - Selector block

w NEGTOPOS_f - Threshold negative to positive

External modules need to be updated to use the new

Scilab Open Data format instead of the previous

HDF5 format.

Help pages updated with examples and translated

into French:

w WFILE_f - Block to write to output file

w WRITEC_f - Block to write C binary file

xcos_toolbox_skeleton will not be loaded if Xcos is

not installed.

scilab -f file.xcos opens Xcos diagram in

Xcos.

Error reporting has been improved to print warnings

on blocks into Xcos.

The style of a block can be changed in the interface

function.

BARXY Block added to help 2-D Mechanics system

visualization.

Bug Fixes:

w Bug # 6201 fixed - Block help menu had no shortcut.

w Bug # 6733 fixed - Each call to Xcos created an empty

diagram.

w Bug # 7539 fixed - Interaction with some blocks was

slowed down.

Scilab 5.4.0 Release Notes - 6© 2012 - Scilab Enterprises

Page 7: Scilab5.4.0_ReleaseNotes

w Bug # 7863 fixed - Default path for code generation was

SCI instead of pwd() or TMPDIR.

w Bug # 7985 fixed - dmmul.c did not use dgemm routine

optimized by BLAS.

w Bug # 8188 fixed - Xcos to Scilab export took too much

time.

w Bug # 8295 fixed - Save compressed Xcos file set as

default.

w Bug # 8421 fixed - CLKFROM and CLKGOTO were not

part of the "Signal Routing" palette.

w Bug # 8510 fixed - The message "Diagram contains

implicit blocks..." stopped all process.

w Bug # 8538 fixed - Counter block label was not

reflecting parameters.

w Bug # 8600 fixed - Closing Xcos did not end the

simulation.

w Bug # 8742 fixed - On the Modelica initialization GUI, the

error reporting did not work.

w Bug # 8743 fixed - On the Modelica initialization GUI, it

was impossible to re-fix the states after a derivative fix.

w Bug # 8744 fixed - Solving the initialization problem

more than once crashed Scilab.

w Bug # 9037 fixed - When connecting blocks, the green

port blinked on a small mouse move.

w Bug # 9075 fixed - The inverted pendulum

demonstration in Xcos / Control systems opened a useless

graphic windows

w Bug # 9131 fixed - PULSE_SC has been added to the

Source palette.

w Bug # 9290 fixed - HALT blocks displayed STOP.

w Bug # 9301 fixed - Exception when one tried to paste a

column to replace a column selection.

w Bug # 9336 fixed - SuperBlock with non-connected ports

produced an invalid index error.

w Bug # 9390 fixed - FROMWSB_c block did not reset to the

default values on reinitialization execution.

w Bug # 9478 fixed - Block structure was not checked

while adding them to a new palette.

w Bug # 9496 fixed - Xcos flag 5 (ending) was not called

when simulation was stopped from the user interface.

w Bug # 9501 fixed - With a localized TMPDIR, block

edition could throw an HDF5 exception.

w Bug # 9506 fixed - Some libraries dependencies were

not loaded at xcos_toolbox_skeleton start-up.

w Bug # 9532 fixed - User-defined blocks had no icons

when saved.

w Bug # 9547 fixed - The ‘about box’ was not localized due

to a multi-line string.

w Bug # 9579 fixed - Duplicate content in scicos_math.h

removed and replaced by a cleaner call to math.h

instead.

w Bug # 9590 fixed - Xcos examples were not embedded

in Windows binary version.

w Bug # 9732 fixed - Code generation failed at compilation

under Windows with "unresolved external symbol dset_".

w Bug # 9750 fixed - Minor error in scicos_debug help

page fixed.

w Bug # 9810 fixed - Errors dealing with MATINV wrong

simulation values have been improved.

w Bug # 9927 fixed - Xcos crashed at XcosPalAdd

command execution.

w Bug # 9947 fixed - VARIABLE_DELAY block could not

be dragged to a diagram.

w Bug # 9972 fixed - Error reporting with a wrong context

produced an endless loop.

w Bug # 9988 fixed - CLKSOMV_f had a wrong interface

function after loading from a file.

w Bug # 10003 fixed - The MAXMIN block did not update its

display according to the settings.

w Bug # 10041 fixed - WFILE_f block was not declared

as deprecated.

w Bug # 10048 fixed - Blocks which use super blocks now

loop over their children to find the parameters dialog to

open.

w Bug # 10069 fixed - AFFICH_m block did not update its

display at reinitialization.

w Bug # 10081 fixed - Palette configuration saving could

produce an invalid file.

w Bug # 10096 fixed - Set [1;-1;] on a product block

thrown an exception.

w Bug # 10107 fixed - Default value of the Integrator

Absolute Tolerance was too large. It has been reduced to

1e-6.

w Bug # 10246 fixed - PROD_f block was broken.

w Bug # 10302 fixed - LaTeX labels were not rendered.

w Bug # 10333 fixed - Labeling I/O blocks on a super

block produced wrong port labeling when ports had not the

same types.

w Bug # 10340 fixed - Exception occurred while moving

the palette split pane to hide the block list and while using

a palette diagram.

Scilab 5.4.0 Release Notes - 7© 2012 - Scilab Enterprises

Page 8: Scilab5.4.0_ReleaseNotes

w Bug # 10393 fixed - Block style was not updated on

palette loading.

w Bug # 10419 fixed - Exception occurred while refusing to

create a new empty file.

w Bug # 10422 fixed - Exception occurred when exporting

with an unspecified format.

w Bug # 10433 fixed - Xcos stop simulation button did not

work properly.

w Bug # 10461 fixed - Canceling a Quit operation did not

work.

w Bug # 10486 fixed - importXcosDiagram opened a

tab.

w Bug # 10496 fixed - Wrong error message fixed in

xcosValidateBlockSet.

w Bug # 10510 fixed - Unused variables were generated

by Xcos at start-up.

w Bug # 10533 fixed - Some action shortcuts were not

disabled when editing a text block.

w Bug # 10657 fixed - CONSTRAINT_c had no icons on a

graph.

w Bug # 10679 fixed - blocks_link.tst failed.

w Bug # 10697 fixed - post_xcos_simulate function

did not work with a TOWS_c block in a diagram.

w Bug # 10781 fixed - DFlipflop incorrectly reported

problem for port size or type.

w Bug # 10800 fixed - xcosPalAddBlock help example

did not work.

w Bug # 10812 fixed - cos and cosf files loading did not

use a direct handler.

w Bug # 10848 fixed - The first Drag'n Drop of a block

produced an exception.

w Bug # 10943 fixed - Accented character in the file path

broke file loading in Xcos.

w Bug # 11094 fixed - Image creation of blocks did not use

xinit / xend.

w Bug # 11132 fixed - Some help pages were missing:

standard_origin, ...

w Bug # 11494 fixed - Xcos PDE block could not open

UIcontrol to set parameter.

w Bug # 11518 fixed - When zooming on CLR block-text,

the block was outside the box.

w Bug # 11550 fixed - Closing the scope graph while

running simulation led to a segfault.

w Bug # 11717 fixed - Setting recent opened file number in

the preferences GUI was not applied in Xcos menu.

w Bug # 11735 fixed - Output sink name was not reported

as figure name.

w Bug # 11737 fixed - Incompatibility between a Xcos

menu and its help page description.

w Bug # 11746 fixed - Closing the palette window with the

crossing box did not update the checkbox in Xcos "View"

menu.

w Bug # 11747 fixed - Modelica block text was visible

under the block image.

localizatioN

Czech localization by Zbyněk Schwarz

Bug Fix:

w Bug # 10032 fixed - Force the unset of the

environment variable LANGUAGE to tackle some issues.

Mac OS X locale detection did not take into account the

LANG variable.

File iNpUt/oUtpUt

mgetl, exec, fscanfMat functions manage files

encoded as UTF-8 with BOM.

tempname function added.

See SEP # 68.

fullpath did not manage matrix of string as input

argument.

See SEP # 72.

Bug Fixes:

w Bug # 9253 fixed - fscanfMat failed to read a file with

some lines of text at the end (backward compatibility).

w Bug # 9570 fixed - fprintfMat did not use the good

format argument with nan and inf in a matrix.

w Bug # 9869 fixed - fscanf did not check the number

of input arguments.

w Bug # 9917 fixed - mputl function crashed with a

wrong second parameter.

w Bug # 10055 fixed - findfiles had a wrong default

filter under GNU / Linux & Mac OS X.

w Bug # 10300 fixed - fscanfMat did not free some

memory.

w Bug # 10355 fixed - Error messages in fullfile

function were not localized.

Scilab 5.4.0 Release Notes - 8© 2012 - Scilab Enterprises

Page 9: Scilab5.4.0_ReleaseNotes

optiMizatioN

Demonstration added on neldermead: search for

largest / smallest polygon.

Clarity of examples improved in optimization module

help pages:

w Avoid unnecessary calls to "deff",

w Avoid the "all statements in whole line" style.

readmps - Created unit test.

w Bug fixed in error messages management.

w Bug fixed in a test file reading.

w Defined a printing system by overloading for MPS

structure.

w Help page updated.

Performances improved of genetic_algorithms (2 to

4 times faster).

Bug Fixes:

w Bug # 7093 fixed - The data structure generated by

neldermead_new could not be saved and reloaded.

w Bug # 7889 fixed - The tolerance on x for

neldermead was too small. Updated -tolxrelative

default value from %eps to sqrt(%eps).

w Bug # 7891 fixed - The neldermead component had

too many options. Tagged -costfargument option of

optimbase as obsolete (will be maintained for

backward compatibility until 5.4.1). The -fun option can

now be a list, where the element #1 is a function, and

the elements #2 to the end are automatically appended

to the calling sequence. Tagged -outputcommandarg

option of optimbase as obsolete(will be maintained for

backward compatibility until 5.4.1). The

-outputcommand option can now be a list, where the

element #1 is a function, and the elements #2 to the end

are automatically appended to the calling sequence.

Tagged outputfun(x,optimValues,state) calling

sequence of fminsearch as obsolete (will be

maintained for backward compatibility until 5.4.1). The

new calling sequence is

stop=outputfun(x,optimValues,state). Tagged

myoutputfun(state,data) calling sequence of

neldermead as obsolete (will be maintained for

backward compatibility until 5.4.1). The new calling

sequence is stop=myoutputfun(state,data).

Tagged -myterminateflag and -myterminate

options as obsolete (will be maintained for backward

compatibility until 5.4.1).

See the help page of neldermead for details to update your

code, if required.

w Bug # 7892 fixed - The neldermead component did

not provide a default output function. The new function

neldermead_defaultoutput was created to print a

simple one line output message by iteration.

w Bug # 8542 fixed - In neldermead, there were

undocumented default options. Same changes applied

to optimbase help page.

w Bug # 8543 fixed - Wrong order for the options in

neldermead help page.

w Bug # 8545 fixed - In neldermead, the printing

system displayed too long messages.

w Bug # 8546 fixed - The neldermead functions might

have called f outside the bounds.

w Bug # 8547 fixed - The neldermead function called f

outside the constraints.

w Bug # 8549 fixed - The neldermead function did not

help to debug the cost function.

w Bug # 8552 fixed - Improved fminsearch to provide

Extra Parameters. Help page updated with new section

"The cost function" and new example "Passing extra

parameters".

w Bug # 8676 fixed - The pack / unpack functions had

no help pages.

w Bug # 8777 fixed - The neldermead function failed to

restart with bounds. Added examples of restarts

with/without bounds in neldermead help page.

w Bug # 8805 fixed - The neldermead function,

algorithm box, wrongly used the output function.

w Bug # 9323 fixed - The messages in

optimbase_checkbounds were not localized. Same

changes applied to optimbase_checkx0.

w Bug # 9472 fixed - The ind argument of optim was

inconsistently documented.

w Bug # 9566 fixed - The tolvarianceflag,

tolabsolutevariance, tolrelativevariance

options of neldermead are now obsolete.

See the help page of neldermead for details to update your

code, if required.

w Bug # 9567 fixed - The neldermead overview had a

TODO section.

w Bug # 9576 fixed - The neldermead component did

not check the bounds of some input parameters.

Scilab 5.4.0 Release Notes - 9© 2012 - Scilab Enterprises

Page 10: Scilab5.4.0_ReleaseNotes

w Bug # 9578 fixed - The optimbase_configure

function did not check the values of input arguments.

w Bug # 9607 fixed - The optimsimplex_new function

poorly managed the variable number of arguments.

w Bug # 9612 fixed - The quapro help page has been

removed.

w Bug # 9698 fixed - The optim/"gc" algorithm did not

support imp=-1.

w Bug # 9822 fixed - The value ind=1 of optim was not

supported by all algorithms.

teStS

The assert module provides a set of assertion

functions.

The goal of this module is to provide functions to check the

behavior of some other functions, for example in unitary tests.

We emphasize the use of consistent tools for testing

numerical issues, with the goal of testing numerical algorithms

more easily. In particular, we provide a comparison function

for two floating point numbers, which allows to check that two

numbers are "numerically almost equal", i.e. that the relative

error is small.

This automatically fixes Bug # 4381.

A fourth argument added to test_run to export test

results to XUnit format.

A new function called example_run has been

introduced, this function tests the examples given in

Scilab help pages.

See SEP # 83.

StatiSticS

General improvements of the show_pca function:

w Data bounds fixed in the left graph,

w Correlation circle graph improved,

w Eigenvalues graph improved.

See Bug # 11500.

Bug Fixes:

w Bug # 9357 fixed - stdevf returned zero for row

vector arguments.

w Bug # 9846 fixed - stdevf gave zero result when a

single row matrix was evaluated.

w Bug # 7387 fixed - rand and grand functions help

pages gave wrong advice.

liNeaR alGebRa

cond function updated to take into account a second

input argument.

See SEP # 85.

Bug Fix:

w Bug # 9749 fixed - expm reported non convergence

problem.

SpaRSe MatRiceS

ordmmd help page and unit test created.

Help pages organized into sub-sections.

Bug Fix:

w Bug # 10126 fixed - Wrong (or failing) insertion in a

sparse matrix.

DocUMeNtatioN

A new system to keep track of the translations of the

main documentation has been developed.

See http://help.scilab.org/status/fr_FR/,

help.scilab.org/status/pt_BR/ and

http://help.scilab.org/status/ja_JP/

See Bug # 5119.

Categories have been created for the following

modules help pages:

w Scilab

See Bug # 11546.

w Statistics

See Bug # 9108.

w Genetic algorithms

See Bug # 11514.

w Simulated annealing

See Bug # 11560.

w Signal processing

See Bug # 11661.

w Functions (libraries sub-category)

See Bug # 11642.

Scilab 5.4.0 Release Notes - 10© 2012 - Scilab Enterprises

Page 11: Scilab5.4.0_ReleaseNotes

w Linear algebra

See Bug # 11562.

w Special functions

See Bug # 11643.

w Functions

See Bug # 11722.

w Input/Output functions

See Bug # 11726.

Tag <scilab:image> added.

This tag will perform the graphic rendering of a Scilab code

and include the result into the help page as a sample image.

With the <scilab:image> tag, all graphic and

trigonometric help pages now contain a sample

image.

Management of <varname>, <command>,

<function> and <constant> Docbook tags.

See Bug # 11459.

Management of <note>, <caution>, <warning>,

<important> and <tip> Docbook tags.

See Bug # 10505.

help_from_sci updated to manage recent changes

in docbook Scilab files.

Elementary functions module help pages have been

better organized.

See Bug # 11723.

Automatic spelling corrections for Scilab Online

help - http://help.scilab.org/

<ALT>+<LEFT ARROW> / <ALT>+<RIGHT ARROW>

allows browsing the history.

See Bug # 9474.

The space key behaves like the page down key.

See Bug # 9491.

Management of the <revhistory> and <revision>

tag to provide information about the history of the

function.

Function help_skeleton extended to suggest the

<revhistory>, <latex>, <note>, <caution>,

<warning>, <important> and <tip> tags in

examples.

Scilab documentation is now available in Russian.

Many thanks to Stanislav Kroter.

Many errors have been fixed in Scilab

documentation:

w Wrong calling sequences,

w Errors in examples,

w Bad formatting,

w Typos.

Bug Fixes:

w Bug # 3431 fixed - Some help tools functions were

obsolete and not removed.

w Bug # 9105 fixed - err output parameter of mopen

function was not documented.

w Bug # 9299 fixed - Fix a typo in cspect, pspect

and window help pages (Hanning changed to Hann).

w Bug # 9320 fixed - analpf help page gave wrong

frequency units of omega (Hz instead of rd/s).

w Bug # 9417 fixed - In English api_scilab help

pages, polynom updated to the word polynomial.

w Bug # 7133 fixed - help_from_sci function did not

return the function template.

w Bug # 7134 fixed - help_from_sci produced an

invalid .xml file.

w Bug # 9790 fixed - windows_tools help pages were not

available for all platforms.

w Bug # 9983 fixed - The xclick help page did not

clearly specify the axes used for coordinates.

Scilab 5.4.0 Release Notes - 11© 2012 - Scilab Enterprises

Page 12: Scilab5.4.0_ReleaseNotes

cacSD & SiGNal pRoceSSiNG

New functions:

w conv - discrete 1-D convolution.

w conv2 - discrete 2-D convolution.

w convol2d - discrete 2-D convolution, using fft.

w phaseplot - frequency phase plot.

w xcorr - auto and cross correlation of signals

(superseeds corr).

w xcov - auto and cross correlationvariance of signals

(superseeds corr).

w arma2ss - conversion of an arma data structure into a

state space one.

w dct - Discrete cosine transform (based on FFTW

library).

w idct - Inverse discrete cosine transform (based on

FFTW library).

w dst - Discrete sine transform (based on FFTW library).

w idst - Inverse discrete sine transform (based on

FFTW library).

fft function based on fftw updated and improved:

w Take data symmetry into account,

w Include hard coded multivariate fft.

See SEP# 84.

The damp function in CACSD module computes the

natural pulsation and damping factor of linear

dynamical systems.

'mtlb_conv' compatibility function is now

obsolete.

Please use 'conv' instead.

Bug Fixes:

w Bug # 1635 fixed - iir filter frequency response might

have been wrong. "pole zero gain" representation added

as possible iir function returned value.

w Bug # 7895 fixed - fft2() was broken under

Windows with MKL wrapper.

w Bug # 7901 fixed - besselh.tst failed under Windows.

w Bug # 8684 fixed - wfir function produced an error

message when used interactively.

w Bug # 9098 fixed - CACSD demonstrations / Robust

control failed under Windows 64-bit.

w Bug # 9214 fixed - abaque replaced by nicholschart in

the black.sci comments.

w Bug # 9266 fixed - fftw crashed under Windows when

using MKL wrapper.

w Bug # 9321 fixed - Missing tests and help info for some

CACSD functions.

w Bug # 9647 fixed - At Scilab start-up, the fft variable

was declared by default while it should not have been the

case.

w Bug # 9675 fixed - iir generated bad results.

w Bug # 9716 fixed - amell.tst execution froze under

Windows with reference lapack library.

w Bug # 9719 fixed - delip.tst execution froze under

Windows.

w Bug # 9725 fixed - syredi.tst execution froze under

Windows.

w Bug # 10008 fixed - Wrong unit in the datatip for bode

function.

w Bug # 10169 fixed - Bad clipping option in evans.

w Bug # 10562 fixed - The "CACSD/Robust Control"

demonstration failed.

w Bug # 11092 fixed - Incorrect argument check in

h_inf.

w Bug # 11340 fixed - bode, gainplot, nyquist

and plzr without arguments did not show an example.

WiNDoWS VeRSioN

Scilab can now be installed without administration

rights.

In this case, the file association will not be configured.

ATOMS module is now mandatory and is installed in

the minimal installation.

peRFoRMaNceS

Under GNU / Linux and Mac OS X, Scilab start-up

speed of scilab-cli and scilab-adv-cli has been

improved by 15 to 20 %

See Compilation for more information.

SSE is now enabled by default under GNU/Linux

with 32-bit CPU (it is already the case under 64-bit

CPU).

Pentium III class (or equivalent) with SSE instructions is

required.

Scilab 5.4.0 Release Notes - 12© 2012 - Scilab Enterprises

Page 13: Scilab5.4.0_ReleaseNotes

Improved performances of pareto_filter function

(Genetic algorithms).

hank function performances improved.

Using api_scilab, construction of any type of

lists is now much faster (300x in some cases).

Bug Fix:

w Bug # 8608 fixed - dec2hex, hex2dec, dec2oct,

oct2dec, base2dec code have been simplified and

optimized.

coMpilatioN

Under Windows, Scilab uses VS 2010 Pro and

Express solution.

Under GNU / Linux and Mac OS X, engine libraries

have been merged into a single library named

libscilab-cli.so. This greatly improves the start-up

performances.

Note that the --enable-maintainer-mode enables the

previous behavior (simply the development process).

Under GNU / Linux and Mac OS X, all modules build

as standalone their algorithms as a static library

(only available in the source tree).

This will avoid an important dependency tree for unitary

testing.

Under GNU / Linux and Mac OS X, for each module,

the list of explicit dependencies on the other

libraries is no more needed. Use libscilab-cli.so or

libscilab.so to link against Scilab.

Scilab dependency on Java HDF has been removed.

Enforce a minimal version of JRosetta (1.0.4).

Enforce a minimal version of flexdock (1.2.0).

Enforce a minimal version of GIWS (1.3.0).

Enforce a minimal version of Scirenderer (1.0.2).

Enforce a minimal version of JLaTeXMath (1.0.0).

Enforce a minimal version of JOGL (2.0-rc9).

Force the Java class version target to version 6 (or

1.6).

Add Java 7 in the Debian & Ubuntu search path

under GNU / Linux.

BLAS_LIBS variable can now be set by the user

See Bug # 9824.

Scilab now uses the ARPACK-ng package

maintained by Scilab Enterprises.

An option --without-arpack-ng has been added

to disable the Arnoldi features.

HDF5 is now a mandatory dependency of Scilab

(even in a minimal build).

Under GNU / Linux and Mac OS X, if ccache is

installed, use it to build Scilab.

Bug Fixes:

w Bug # 9409 fixed - Warning "remark #8291" removed

with Intel Fortran 2011 compiler.

w Bug # 9500 fixed - Explicit the GUI module manifest

class-path to facilitate Debian checking tool process.

w Bug # 9782 fixed - Configure with --without-gui

was failing.

w Bug # 9793 fixed - --without-gui now also

disables Xcos.

w Bug # 9883 fixed - Build with

--disable-build-help was failing.

w Bug # 9991 fixed - ./configure --without-xcos

failed to build.

w Bug # 11060 fixed - ccache use can be disabled with

--disable-ccache.

w Bug # 10158 fixed - Configure used g77 even if

gfortran was available.

Scilab 5.4.0 Release Notes - 13© 2012 - Scilab Enterprises

Page 14: Scilab5.4.0_ReleaseNotes

hiStoRy

Default text in history for a starting session has

been changed for: "Begin Session: Tue Jun 21

14:35:45 2011" to "21/06/2011 14:35:45"

atoMS

atomsQuit function added to allow to call .quit of

modules loaded by ATOMS when user closes Scilab

session.

See SEP # 77.

tbx_build_loader generates also an

unloader.sce to allow to call .quit file of an

ATOMS module.

ATOMS option 'offLine' has been renamed to

'offline'.

Bug Fixes:

w Bug # 5380 fixed - atomsShow() output was broken

(separators were not aligned).

w Bug # 8302 fixed - Wrong order when loading

dependencies.

w Bug # 8648 fixed - The tarball was not deleted when a

module was removed (SEP # 71).

w Bug # 8664 fixed - Message error updated for

non-supported OS.

w Bug # 8763 fixed - ATOMS installation path was

shared on Windows 64 with 32-bit.

w Bugs # 8942, # 9805 fixed - atomsSystemUpdate()

failed under some Windows.

w Bug # 9078 fixed - atomsGui took time to start gui.

w Bug # 9127 fixed - "Home" item renamed to "Installed

Modules".

w Bug # 9679 fixed - atomsSystemUpdate checks

that Scilab is not in offLine mode, or writes a warning

message if so.

w Bug # 9798 fixed - .quit script of Atoms modules were

not evaluated at Scilab quit.

w Bug # 9967 fixed - Windows UAC was causing trouble

with atomsRepositorySetOfl (internal function).

w Bug # 10025 fixed - Wrong url in some help files

examples.

w Bug # 10031 fixed - atomsDisp did not work with

"\n" in messages text.

w Bug # 10494 fixed - atomsInstall and atomsLoad

were not clearly distinguished in the documentation.

w Bug # 10500 fixed - ATOMS module without

DESCRIPTION file returned a wrong error message.

w Bug # 10707 fixed - atomsInstall failed to use the

path shortcut.

w Bug # 10846 fixed - atomsSystemUpdate failed.

'downloadTimeout' help page added.

w Bug # 10864 fixed - atomsRemove required a network

connection to remove a package.

w Bug # 10933 fixed - atomsGetConfig did not check

the value of input arguments.

w Bug # 10957 fixed - atomsInstall required a

network connection to install a local package.

w Bug # 11062 fixed - atomsGetInstalledPath

function moved as a public function.

JaVaSci

Java mapping of Scilab data has now a new method

called getType() which returns the value of the

ScilabTypeEnum enum.

New methods added:

w Scilab.execException(String)

Same as Scilab.exec(String) but returns an

exception when a Scilab error occurs.

w Scilab.execException(String[])

Same as Scilab.exec(String[]) but returns an

exception when a Scilab error occurs.

w Scilab.execException(File)

Same as Scilab.exec(File) but returns an

exception when a Scilab error occurs.

Bug Fixes:

w Bug # 9149 fixed - Calling a graphic function without

activating the appropriate mode did not triggered an

exception.

w Bug # 9467 fixed - Unnecessary declarations in

MAKE.BAT of Javasci examples.

w Bug # 9544 fixed - Calling graphic with Javasci from a

SWING application from EDT was crashing the

execution of a Java program.

Scilab 5.4.0 Release Notes - 14© 2012 - Scilab Enterprises

Page 15: Scilab5.4.0_ReleaseNotes

api Scilab

Add functions to identify list datatypes:

isListType, isNamedListType, isTListType,

isNamedTListType, isMListType,

isNamedMListType

See Bug # 11106.

MiSc

The linspace function accepts column vectors as

input argument for the two first input arguments.

Thanks to Guillaume AZEMA for the implementation.

The logspace function accepts column vectors as

input argument for the two first input arguments.

Change the buffering display mode.

lines(0) by default at start-up.

See SEP # 67

Options -disable-exception-catching added

under GNU / Linux & Mac OS X.

Disables the Scilab exception catching system.

texmacs module moved as an ATOMS module.

atomsInstall('texmacs')

PVM module moved as an ATOMS module.

atomsInstall('PVM')

maple2scilab module moved as an ATOMS module.

atomsInstall('maple2scilab')

predef('names') returns names of protected

variables by predef.

See SEP # 69

printf moved as alias on mprintf function.

sprintf moved as alias on msprintf function.

obSolete FUNctioNS

oemtochar and chartooem functions (windows_tools)

are obsolete and will be removed in Scilab 5.4.1.

showalluimenushandles function (graphics) was

undocumented. This function is obsolete and will be

removed on 5.4.1.

Use set(get(0), "ShowHiddenHandles", "on");

instead.

code2str and str2code are obsolete and will be

removed on 5.4.1.

Please use ascii instead.

config function is now obsolete and will be

removed in Scilab 5.4.1.

Please use preferences instead.

dnaupd, dneupd, dsaupd, dseupd, znaupd and

zneupd deprecated for eigs.

createpopup and uipopup functions are now

obsolete.

Please use uicontextmenu instead.

ReMoVeD FUNctioNS (pReVioUSly DeclaReD aS

obSolete)

ilib_for_link, ilib_build no more accept files

with ".o" or ".obj" extensions for source files.

with_atlas removed.

Please use getdebuginfo instead.

C API function Error(x) removed.

Please use SciError instead.

MSDOS removed.

Please use getos instead.

kNoWN iNcoMpatibilitieS

In previous versions, modulo(x,0) and

pmodulo(x,0) returned x.

But this solution is not correct. Indeed, the expression used

to compute the modulo is x - y * int(x / y) for the

modulo function and x - y * floor(x / y). Now, they

return an error and %nan with ieee(2).

See Bug # 7216.

Scilab 5.4.0 Release Notes - 15© 2012 - Scilab Enterprises

Page 16: Scilab5.4.0_ReleaseNotes

In previous versions, newest function could be

called with a string vector as second (up to last)

input argument.

In these cases, only the first string of the vector was taken into

account. These calls now return an error.

See Bug # 11398.

Setting the 'foreground' property for a figure was

possible even if it was not officially supported or

documented.

An error is now returned. Please use the axes

'foreground' property instead.

See Bug # 11369.

getcallbackobject: Input argument must be an

UID (String) and no more an index (Constant).

kNoWN iSSUeS

Some issues at start-up under Mac OS X 10.6.7 (and

previous 10.6 versions) have been reported.

If you have "Audio Hijack" installed on your Mac OS X, it

prevents some applications to work including Scilab.

See Bug # 7012.

Uninstall / disable Audio Hijack should fix this problem. Airfoil,

also developed by Rogue Amoeba, has been reported as also

breaking Scilab.

Scilab 5.4.0 Release Notes - 16© 2012 - Scilab Enterprises

Page 17: Scilab5.4.0_ReleaseNotes

bUG FixeS

w Bug # 1604 fixed - List extraction failed.

w Bug # 2479 fixed - Graphic editor could not be used

when format was not format("v",18).

w Bug # 2853 fixed - sd2sci.sci removed from sources.

w Bug # 3291 fixed - SCI/modules/tclsci/tcl/BWidget-1.8.0/

moved as prerequirements.

w Bug # 3235 fixed - In bezout function, wrong typo in

the name of a variable made the calpol unitary test failed.

w Bug # 3244 fixed - Error messages in qpsolve and

qp_solve functions updated.

w Bug # 3787 fixed - Invalid calling sequences removed

from schur help page.

w Bug # 3811 fixed - The overloading charcode was

wrong for libraries.

w Bug # 4240 fixed - Some unexpected blank lines were

displayed with the dir function.

w Bug # 4337 fixed - who_user did not return user's

variable names but only displayed them.

w Bug # 4576 fixed - An example of ilib_build with

"cflags" argument was missing.

w Bug # 4806 fixed - If A was a sparse matrix, A^0

returned A and not the identity matrix as expected.

w Bug # 4813 fixed - Description of type 0 added in

type help page.

w Bug # 4833 fixed - msprintf() interpreted "\n" as a

carriage return even if "\n" was supplied by the 2nd input

argument.

w Bug # 4847 fixed - In uigetfile, there was no way to

select files with a given pattern.

w Bug # 4978 fixed - Icons did not follow the Tango norm.

w Bug # 5491 fixed - Clearly states that

haveacompiler() only works under Windows.

w Bug # 5675 fixed - Levitron demonstration was failing in

some cases.

w Bug # 5696 fixed - When SE Linux is enabled, error

messages for Scilab in the Scilab binary distribution

disabled.

w Bug # 6009 fixed - conv, conv2 and convol2d

functions were missing.

w Bugs # 6154, # 10850 fixed - Arnoldi package help

pages updated.

w Bug # 6408 fixed - prompt() removed trailing whites.

w Bug # 6538 fixed - unobs ignored its 'tol' argument

when it was given, and always calculated its own,

arbitrary, internal value.

w Bug # 6702 fixed - max and min functions returned a

scalar in k when the input argument was the last column

of an hypermatrix.

w Bug # 6819 fixed - prompt() interpreted '<...>' as

HTML.

w Bug # 6875 fixed - test_run() could not run at once

on the +3000 tests of Scilab.

w Bug # 7061 fixed - changelog.txt, readme.txt,

version.xml removed from modules.

w Bug # 7167 fixed - Typo fixed in pdiv help page.

w Bug # 7216 fixed - modulo(x,0) and pmodulo(x,0)

did not return an error message. With ieee(2), these

functions now return %nan.

w Bug # 7249 fixed - string function did not work as

documented with a macro as input argument.

w Bug # 7251 fixed - Error fixed in qp_solve help page.

w Bug # 7289 fixed - The handle of the menu was still

valid after calling delmenu(console_menu_handle).

w Bug # 7333 fixed - In BrowseVar, variables could have a

weird type number.

w Bug # 7358 fixed - type and typeof help pages have

now links to the actual description pages.

w Bug # 7380 fixed - 'Value' property for uicontrol

was rounded.

w Bug # 7409 fixed - Some corrupted matrices could be

created from api_scilab.

w Bug # 7490 fixed - %inf had not always the same

display.

w Bug # 7674 fixed - In all Optimization and Simulation

demonstrations, the source code was displayed by

default. A messagebox now lets the choice to the user to

display the code or not.

w Bug # 7700 fixed - Bad proposition in the console

history when a char was added.

w Bug # 7728 fixed - rubberbox(): Instantaneous

pointer's coordinates are now displayed in the status bar.

w Bug # 7745 fixed - add_demo moved in demo_tools

module.

w Bug # 7763 fixed - mtlb_max and mtlb_min

functions did not manage complex numbers with null

imaginary part.

w Bug # 7779 fixed - genlib did not check input

arguments and did not use current path as default.

w Bug # 7815 fixed - tohome() function erased previous

and future commands in Scilab console.

Scilab 5.4.0 Release Notes - 17© 2012 - Scilab Enterprises

Page 18: Scilab5.4.0_ReleaseNotes

w Bug # 7855 fixed - It was not possible to change event

function while the event handler was enabled.

w Bug # 7859 fixed - Improvements of exists help page.

w Bug # 7873 fixed - The lagr parameter in qld help

page was wrong.

w Bug # 7874 fixed - qp_solve help page did not give

enough information about iact.

w Bug # 7881 fixed - Error in the condition which checks if

the second input argument in lattn function was scalar

or not.

w Bug # 8050 fixed - A weird error message was

displayed in some cases.

w Bug # 8086 fixed - Some functions displayed a wrong

error message when called without input argument.

w Bug # 8101 fixed - median function with a sparse as a

first argument did not return the good result. Moreover,

median(sparse, 'r'| 'c') was not managed.

w Bug # 8151 fixed - Under Mac OS X, "Scilab/Quit

Scilab" and "File/Quit" items were duplicates.

w Bug # 8243 fixed - xgeom demonstration renamed to

geom3d.

w Bug # 8245 fixed - gsort() did not allow overloading

with not managed types.

w Bug # 8296 fixed - Asking for extra array dimension

value with size crashed Scilab.

w Bug # 8339 fixed - Default path for the Mac OS X

version is now HOME instead of "/".

w Bug # 8351 fixed - integrate function did not manage

properly the optional input arguments.

w Bug # 8420 fixed - lines crashed Scilab in some

cases.

w Bug # 8488 fixed - NaN values were propagated when

min/max were performed between several matrices.

w Bug # 8592 fixed - Explicit error message added when

macros are not available.

w Bug # 8608 fixed - dec2hex, hex2dec, dec2oct,

oct2dec, base2dec code have been simplified and

optimized.

w Bug # 8640 fixed - histplot function failed when the

data vector contained the same values.

w Bug # 8651 fixed - The error message of write_csv

was wrong.

w Bug # 8682 fixed - funcprot did not return the

previous value when called with an argument.

w Bug # 8685 fixed - Lack of consistency in keyword

help page.

w Bug # 8688 fixed - fillMatrixOfString did not

check available memory on stack.

w Bug # 8724 fixed - A critical error with

uiget(file|dir) could occur.

w Bug # 8753 fixed - c_link help page did not describe

input argument num.

w Bug # 8768 fixed - GetRhsVar(...,

STRING_DATATYPE, ...) did not check size of input

argument.

w Bug # 8785 fixed - modulo and pmodulo functions did

not check input arguments.

w Bug # 8797 fixed - Update of getdate('s') help

pages to detail that the returned value contains the leap

seconds.

w Bug # 8799 fixed - gsort did not work with

hypermatrices.

w Bug # 8859 fixed - Some comparison operators

between hyper-matrices and 2-D arrays were missing.

w Bug # 8874 fixed - Display of complex numbers with

Inf or NaN for real or imaginary parts was broken.

w Bug # 8963 fixed - mtlb_mode test failed under

Windows.

w Bug # 9002 fixed - bsplin3val, cshep2d,

eval_cshep2d,interp, interp2d, interp3d,

linear_interp, splin, splin2d, splin3d

functions ignored imaginary part of input arguments

without returning an error.

w Bug # 9032 fixed - The rectangular contour of a 'Text'

object did not fit the text for huge font sizes.

w Bug # 9045 fixed - plot2d did not support overloading.

w Bug # 9056 fixed - A uicontrol could not be closed with

<META>+W.

w Bug # 9104 fixed - warning used in a diary Scilab

session added timestamp twice in the diary.

w Bug # 9129 fixed - Completion on field did not

propose graphics handle fields by default.

w Bug # 9156 fixed - mgetl.c compilation failed under

some Windows.

w Bug # 9164 fixed - The unit tests now use the new

assert functions.

w Bug # 9197 fixed - Unitary test examples in

toolbox_skeleton and xcos_toolbox_skeleton did not use

assert functions.

w Bug # 9204 fixed - The Frobenius norm of a complex

vector was numerically complex.

Scilab 5.4.0 Release Notes - 18© 2012 - Scilab Enterprises

Page 19: Scilab5.4.0_ReleaseNotes

w Bug # 9255 fixed - Correct bad calling sequence in

list_double_writing_API help page.

w Bug # 9268 fixed - Scilab was overriding a predefined

variable JAVA_HOME.

w Bug # 9277 fixed - Escape character '\' did not work

with msprintf.

w Bug # 9295 fixed - base2dec ignored the fractional

part of 'base' input argument.

w Bug # 9328 fixed - Scilab randomly crached at start-up

under Mac OS X when calling functions returning no value

(lines, modes, banner, ...).

w Bug # 9339 fixed - tbx_build_help function did not

manage languages properly.

w Bug # 9354 fixed - savematfile could not save

imbricate structures.

w Bug # 9414 fixed - 'SCI' and 'SCIHOME' variables

were not documented.

w Bug # 9424 fixed - gettext("") did not return "".

w Bug # 9452 fixed - It was impossible to download Intel

MKL through a proxy.

w Bug # 9461 fixed - The assert_checkalmostequal

function did not manage sparse matrices and

hypermatrices.

w Bug # 9464 fixed - contourf did not work if the

"Matlab Compatibility functions module" was not installed.

w Bug # 9479 fixed - Typo fixed (intput => input).

w Bug # 9498 fixed - A long history caused Scilab start-up

to be very long.

w Bug # 9502 fixed - 'toolbox' was badly used in

assert help pages (replaced by 'module').

w Bug # 9510 fixed - export_to_hdf5 did not return %f

when trying to export unmanaged types (function, macro,

...).

w Bug # 9520 fixed - Missing named functions added in

"API Scilab" help pages.

w Bug # 9531 fixed - assert_checkequal failed with

mlist.

w Bug # 9540 fixed - MKL Pentium 4 target was not

downloaded by installer under Windows.

w Bug # 9542 fixed - Under Windows, during export

operation, the file could be locked by another process.

w Bug # 9543 fixed - Scilab did not use the default

DocumentBuilderFactory to parse XML configuration

files.

w Bug # 9549 fixed - nthroot function added.

w Bug # 9555 fixed - Typo error in deff help page.

w Bug # 9571 fixed - "error(144)" returned a wrong

variable name.

w Bug # 9572 fixed - assert_checkerror did not

check multi-lines errors.

w Bug # 9573 fixed - getdebuginfo did not report

multiple video cards under Windows.

w Bug # 9581 fixed - cleaner.sce in toolbox_skeleton did

not remove all generated files.

w Bug # 9599 fixed - Error message "at line ... of function

... called by" was printed directly on the same line.

w Bug # 9616 fixed - In qp_solve help page, the input

arguments in calling sequence did not match those in

arguments section.

w Bug # 9635 fixed - Some temporary variables were not

removed when test_run was used.

w Bug # 9643 fixed - Genetic algorithms demonstration

was not vectorized.

w Bug # 9647 fixed - At Scilab start-up, the fftvariable

was declared by default while it should not have been.

w Bug # 9654 fixed - An example in optim help page was

poorly implemented.

w Bug # 9659 fixed - "error(246)" returned a bad

message for overloading.

w Bug # 9682 fixed - 3-D assignment into a 2-D array of

integers issued an error.

w Bug # 9693 fixed - The default value of epsg in optim

help page was %eps.

w Bug # 9696 fixed - An error in an if expression inside a

try make Scilab froze.

w Bug # 9699 fixed - A single $ as text in a text

uicontrol led to a segfault.

w Bug # 9700 fixed - optim help page contained a

mistake about bounds management.

w Bug # 9707 fixed - createNamedXXX did not check

variable name.

w Bug # 9708 fixed - createNamedXXX did not check

length of variable name.

w Bug # 9712 fixed - StartScilab help page had an

error about Stacksize argument type.

w Bug # 9716 fixed - amell.tst execution froze under

Windows with reference lapack library.

w Bug # 9717 fixed - dllinfo.tst failed under Windows

binary versions.

w Bug # 9728 fixed -

SCI/modules/special_functions/src/fortran/special_functions_f.d

ef was not ignored (generated file).

Scilab 5.4.0 Release Notes - 19© 2012 - Scilab Enterprises

Page 20: Scilab5.4.0_ReleaseNotes

w Bug # 9730 fixed - lines() returned an int32 and

not a double value.

w Bug # 9734 fixed - intsplin help page moved from

interpolation to elementary functions chapter.

w Bug # 9735 fixed - Old stack api examples removed.

w Bug # 9755 fixed - Completion on paths was not case

insensitive under Windows.

w Bug # 9756 fixed - polelm.tst unitary test failed under

Windows 64-bit.

w Bug # 9763 fixed - comet3d did not check input

argument presence.

w Bug # 9765 fixed - Remove ref to scicos_pal in

sci_f_clear.f.

w Bug # 9766 fixed - Scilab under Mac OS X 10.7 did not

start.

w Bug # 9791 fixed - Toolbar visible state change crashed

Scilab in NW mode.

w Bug # 9799 fixed - pol2str did not manage matrix of

polynomials and input argument type was not checked.

w Bug # 9804 fixed - Starting Scilab with an external

module emptied the demonstrations list menu.

w Bug # 9811 fixed - Output message of fminsearch

was wrongly set.

w Bug # 9824 fixed - BLAS_LIBS variable was

overloaded by the configure.

w Bug # 9825 fixed - The assert_computedigits

function gave too large correct digits.

w Bug # 9830 fixed - leastsq did not match the

information given in optim help page.

w Bug # 9833 fixed - percent was badly formatted by

Scierror function.

w Bug # 9836 fixed - repfreq failed due to singular

problem.

w Bug # 9838 fixed - evstr froze on some specific

strings.

w Bug # 9843 fixed - Colormaps with 2 colors could not be

created.

w Bug # 9858 fixed - length() could not be overloaded

with mlist.

w Bug # 9879 fixed - Fix some minor issues in isdir

help pages.

w Bug # 9880 fixed - Fix a page referencing itself in the

help page.

w Bug # 9881 fixed - Fix a mistake in call help page.

w Bug # 9884 fixed - Possibility to add a default header on

new files in SciNotes added in Preferences.

w Bug # 9885 fixed - User initialization scripts (scilab.ini,

.scilab) did not work.

w Bug # 9899 fixed - string(10*log10(1/10)) gave

-0, instead of -10.

w Bug # 9900 fixed - There was a memory leak in

getAllocatedMatrixOfString,

getAllocatedMatrixOfWideString,

getAllocatedNamedMatrixOfString, and

getAllocatedNamedMatrixOfWideString.

w Bug # 9920 fixed - winqueryreg did not manage

HKEY_CURRENT_CONFIG.

w Bug # 9929 fixed - Improve integration with Gnome

shell and Unity.

w Bug # 9950 fixed - It was possible to select several

texts in the console.

w Bug # 9953 fixed - Documentation added to fre input

argument of stdevf.

w Bug # 9954 fixed - Example added in gmres help page.

w Bug # 9957 fixed - msprintf("%d\r", 2) returned

'2r'.

w Bug # 9963 fixed - The assert_computedigits

function was not vectorized.

w Bug # 9966 fixed - The default value of comptype in

assert_checkalmostequal was wrongly chosen.

w Bug # 9971 fixed - GLoad macro not used and not

documented has been removed.

w Bug # 9976 fixed - cdfbet function returned a wrong

value instead of 0.

w Bug # 9979 fixed - who_user() function printed a

wrong message.

w Bug # 9980 fixed - When one tried to complete an

empty string, the console froze.

w Bug # 9992 fixed - gcbo was not initialized in callbacks

for uimenus in console.

w Bug # 10001 fixed - %inf:%inf crashed Scilab.

w Bug # 10016 fixed - The damp function unit test failed

under Windows.

w Bug # 10017 fixed - The unitary test for bdiag used a

strange comparison operator.

w Bug # 10019 fixed - exec crashed with error 113 for too

long lines.

w Bug # 10037 fixed - checkalmostequal.tst unitary test

failed under Linux 64-bit.

w Bug # 10044 fixed - wfir_gui function rewritten based

on uicontrol and documented.

Scilab 5.4.0 Release Notes - 20© 2012 - Scilab Enterprises

Page 21: Scilab5.4.0_ReleaseNotes

w Bug # 10061 fixed - datatipCreate drew the tip in

the current axes instead of curve parent axes.

w Bug # 10073 fixed - Use the new Scilab icon for GNU /

Linux installs. Icons renamed from XPM to PNG.

w Bug # 10105 fixed - Focus was not given to the prompt

when outputview had it.

w Bug # 10119 fixed - assert_checkequal did not

support sparse complex doubles.

w Bug # 10124 fixed - strsplit crashed with wrong

input arguments.

w Bug # 10139 fixed - atomsTest function did not

manage specific test names.

w Bug # 10150 fixed - completion help page moved to

console chapter.

w Bug # 10151 fixed - Wrong error message about

polynomials was displayed.

w Bug # 10178 fixed - norm function returned the

message "division by zero" for some sparse matrices.

w Bug # 10179 fixed - Weird behavior with evstr.

w Bug # 10184 fixed - In messagebox, focus was not set

by default on "yes" or "ok" button.

w Bug # 10236 fixed - exit(-1) prompted for exiting

Scilab.

w Bug # 10241 fixed - A .scg file could not be opened

when a non-ascii character was in the legend.

w Bug # 10244 fixed - The install of call_scilab could

fail in some cases under GNU / Linux.

w Bug # 10250 fixed - Bug in the detection of the Java

path under GNU / Linux fixed.

w Bug # 10267 fixed - The help browser did not use the

default language at new session start-up.

w Bug # 10272 fixed - Examples added in squeeze help

page.

w Bug # 10281 fixed - lyap function could crash.

w Bug # 10282 fixed - repmat did not work for scalar

input on dims greater than 2 neither for N-D arrays.

w Bug # 10283 fixed - w and iw output arguments of ode

function are now directly read from work table used in

sub-functions.

w Bug # 10289 fixed - xload returns a more explicit error

message when a file does not exist.

w Bug # 10292 fixed - Improved description of modulo

help page.

w Bug # 10293 fixed - Improved description of bvode help

page.

w Bug # 10303 fixed - test_run ignored "enable_lt"

option.

w Bug # 10304 fixed - test_run did not return an error if

an invalid option was used.

w Bug # 10306 fixed - 'isempty' could fail with empty

elements in a list.

w Bug # 10324 fixed - format(m) where m was a vector

did not work but the documentation stated it could be

used.

w Bug # 10330 fixed - error did not manage vector of

strings as input argument, but lasterror returned

vector of strings.

w Bug # 10341 fixed - Font in help was bold when the font

of a text uicontrol was set to bold.

w Bug # 10342 fixed - assert_checkerror help page

had a wrong format.

w Bug # 10345 fixed - uicontrols were not always

drawn at the right place.

w Bug # 10346 fixed - An uicontrol was visible during a

few milliseconds even if its "Visible" property was set to

"off".

w Bug # 10366 fixed - A warning about fun2string

redefinition was displayed when we used "Edit label

generator" and click "Ok".

w Bug # 10372 fixed - Dependencies of MALLOC.h

removed on Windows.h and machine.h under Windows.

w Bug # 10379 fixed - lines did not manage a 1x2

vector [nc, nl] as input argument.

w Bug # 10384 fixed - In exiting, "Close Console" was

suggested rather than "Close Scilab".

w Bug # 10385 fixed - It was not possible to configure

default web browser.

w Bug # 10396 fixed - Display of a structure with large

matrix took too much time.

w Bug # 10402 fixed - FileBrowser threw an exception

when a filter was set and the tree was expanded.

w Bug # 10408 fixed - In the history browser, the contents

were scrolled even if the knob was not at the bottom.

w Bug # 10416 fixed - xmltoformat did not return at the

root directory in case of error.

w Bug # 10418 fixed - Playsound was failing under Mac

OS X.

Thanks to Pierre-Henri Jondot for the patch.

w Bug # 10423 fixed - browsehistory() function to

open the history browser was missing.

w Bug # 10431 fixed - Navigation in history using CTRL+P

or CTRL+N was not available.

Scilab 5.4.0 Release Notes - 21© 2012 - Scilab Enterprises

Page 22: Scilab5.4.0_ReleaseNotes

w Bug # 10439 fixed - stacksize('max') crashed

under Windows 64-bit.

w Bug # 10440 fixed - wfir_gui generated errors if the

view checkbox was selected and an erronous value was

entered.

w Bug # 10444 fixed - fullfile did not manage string

matrix as last input argument.

w Bug # 10449 fixed - At new session start-up, empty tabs

could appear if the previous session has not been

properly exited.

w Bug # 10450 fixed - Overloading for gamma, dlgamma

and gammaln functions for list, tlist, mlist and

hypermatrices types was not allowed.

w Bug # 10457 fixed - Reference in fftw help page

pointed to a wrong version.

w Bug # 10458 fixed - demo_gui did not clear its

variables when closing the figure.

w Bug # 10465 fixed - Typo fixed in isreal help page.

w Bug # 10466 fixed - mgetl detected an error but it did

not return an error message in Scilab.

w Bug # 10471 fixed - %helps_modules was not ignored

by default by browsevar.

w Bug # 10473 fixed - Error fixed in factorial function

help page bibliography.

w Bug # 10474 fixed - An exception could be thrown at the

history browser restoring.

w Bug # 10475 fixed - Error fixed in perms function help

page.

w Bug # 10477 fixed - In ilib_for_link, the display of

the error message generated at configure time made

mprintf fail.

w Bug # 10479 fixed - max and min functions were

incorrect for N-D arrays.

w Bug # 10482 fixed - Wrong error message in format

function fixed.

w Bug # 10497 fixed - Some special characters were

causing issues in phaseplot localization.

w Bug # 10499 fixed - The example in lincos help page

returned awarning and an error.

w Bug # 10503 fixed - error(999.666) did trunc error

code without an error.

w Bug # 10506 fixed - ssprint did not check input

arguments.

w Bug # 10518 fixed - odeoptions help page was

inaccurate.

w Bug # 10519 fixed - spec returned a wrong error

message when an input argument was not square.

w Bug # 10520 fixed - The fact that ceil, floor,

round or fix could manage complex matrices was not

clearly stated in the documentation.

w Bug # 10521 fixed - frexp returned a wrong error

message.

w Bug # 10523 fixed - The fact that flipdim could

manage complex matrices was not clearly stated in the

documentation.

w Bug # 10526 fixed - A string was in French in the

English help page of cumprod.

w Bug # 10532 fixed - In some cases, browsevar cloud

crash with some unknown Scilab types.

w Bug # 10536 fixed - A string was in French in the

English help page of cumsum.

w Bug # 10538 fixed - Typos fixed in prod and cumprod

help pages.

w Bug # 10543 fixed - %eps, %pi, %i, %nan, %inf

were not documented.

w Bug # 10544 fixed - debug did not return the previous

value when called with an argument.

w Bug # 10551 fixed - Issues fixed in the Russian

localization.

w Bug # 10558 fixed - Tcl/Tk demonstrations did not start.

w Bug # 10559 fixed - Spectral estimation demonstration

failed if the graphic figure was closed.

w Bug # 10560 fixed - Genetic algorithms demonstrations

failed.

w Bug # 10564 fixed - atan graphic demonstration was

failing due to a too restrictive test in the linspace

function.

w Bug # 10565 fixed - Simulation / Bicycle simulation /

unstable trajectory demonstration failed.

w Bug # 10574 fixed - Runge-Kutta-Method failed for

vector [x, 1] with x > 9.

w Bug # 10576 fixed - getdate (under Windows) did not

manage dates after January 19, 2038

w Bug # 10577 fixed - getdate did not check input

arguments.

w Bug # 10579 fixed - Wrong reference to and function in

prod and cumprod help pages fixed.

w Bug # 10588 fixed - Update of waitbar help page to

precise that the function returns a handle.

w Bug # 10595 fixed - In SciNotes, <TAB> did not go to

the next tab position.

Scilab 5.4.0 Release Notes - 22© 2012 - Scilab Enterprises

Page 23: Scilab5.4.0_ReleaseNotes

w Bug # 10626 fixed - taucs_chdel(), umf_ludel()

returned an error.

w Bug # 10628 fixed - Reference to sci_types enum

changed and "see also" section added.

w Bug # 10631 fixed - The # sign was missing in some

error cases.

w Bug # 10632 fixed - Navigation buttons in the file

browser did not change the current Scilab working

directory.

w Bug # 10634 fixed - dsearch help page referenced an

invalid input argument name.

w Bug # 10641 fixed - string(:) gave wrong results.

w Bug # 10643 fixed - Bad result when using isreal

function with a polynomial input.

w Bug # 10652 fixed - getdebuginfo() did not display

TMPDIR value.

w Bug # 10654 fixed - dgettext with "scilab" domain did

not return the same result as gettext.

w Bug # 10656 fixed - Exception occurred when an empty

help browser was closed.

w Bug # 10658 fixed - Typos fixed in the bloc2exp help

page.

w Bug # 10662 fixed - xload did not support tlist for

user_data property.

w Bug # 10673 fixed - Typos fixed in ssrand help page.

w Bug # 10677 fixed - %to_6=%to_e, crashed Scilab

under Windows 64-bit version.

w Bug # 10685 fixed - inttrap help page moved to

differential equations module.

w Bug # 10710 fixed - Wrong error message fixed in XML

module.

w Bug # 10711 fixed - The textbox of datatip was not

displayed in graphics using logarithm scale.

w Bug # 10716 fixed - acos help page badly talked about

vectors instead of matrices.

w Bug # 10717 fixed - Typos fixed in acosd help page.

w Bug # 10720 fixed - Typos fixed in acosh help page.

w Bug # 10724 fixed - Missing links added in acot help

page.

w Bug # 10725 fixed - Typos fixed in acot help page.

w Bug # 10726 fixed - Missing links added in acsc help

page.

w Bug # 10727 fixed - Missing links added in asech help

page.

w Bug # 10728 fixed - Wrong link fixed in asind help

page.

w Bug # 10729 fixed - Missing links added in asinh help

page.

w Bug # 10730 fixed - Missing links added in asinhm help

page.

w Bug # 10731 fixed - Typos fixed in atan help page.

w Bug # 10732 fixed - Wrong link fixed in atand help

page.

w Bug # 10733 fixed - Missing link added in atanm help

page.

w Bug # 10734 fixed - Missing link added in cos help

page.

w Bug # 10735 fixed - Missing information added about

input argument in cotd help page.

w Bug # 10736 fixed - Missing "Arguments" section added

in coth help page.

w Bug # 10737 fixed - Missing "Arguments" section added

in cothm help page.

w Bug # 10738 fixed - Typos fixed in cscd help page.

w Bug # 10739 fixed - Typos fixed in csgn help page.

w Bug # 10740 fixed - Typos fixed in sec help page.

w Bug # 10741 fixed - Typos fixed in secd help page.

w Bug # 10742 fixed - Missing link added in sin help

page.

w Bug # 10743 fixed - Wrong link fixed in sind help page.

w Bug # 10744 fixed - Typos fixed in sinh help page.

w Bug # 10745 fixed - Typos fixed in tand help page.

w Bug # 10769 fixed - Dead code removed from

bsplin3val.

w Bug # 10775 fixed - Scilab icons in FileBrowser had a

wrong size.

w Bug # 10782 fixed - iconvert did not check input

arguments.

w Bug # 10797 fixed - contour, contour2d,

contourf did not check input arguments.

w Bug # 10807 fixed - It was not possible to overload fft

and fftw for list, tlist, mlist type.

w Bugs # 10809, # 10810 fixed - error_table help

page was not up-to-date.

w Bug # 10820 fixed - datatipscurve generator was

freezing Scilab.

w Bugs # 10827, # 10868 fixed - In SciNotes, strings

containing LaTeX disappeared when executed.

w Bug # 10828 fixed - Developer arguments were not

displayed in the help of Scilab scripts.

w Bug # 10831 fixed - set("auto_clear", "on") and

set("auto_clear", "off") returned an error.

Scilab 5.4.0 Release Notes - 23© 2012 - Scilab Enterprises

Page 24: Scilab5.4.0_ReleaseNotes

w Bug # 10835 fixed - Typo that made the atanm function

unusable fixed.

w Bug # 10836 fixed - resize_matrix with boolean

failed.

w Bug # 10837 fixed - Font modification in SciNotes

preferences did not work.

w Bug # 10839 fixed - dec2hex function was limited to

32-bit.

w Bug # 10840 fixed - Keyboard arrows were disabled on

'Slider' uicontrols.

w Bug # 10841 fixed - sliderStep property could not be

set with "big" default value.

w Bug # 10845 fixed - $ was not documented.

w Bug # 10847 fixed - dec2base returned a wrong error

message with a complex number as input argument.

w Bug # 10861 fixed - debug([]) returned a wrong error

message.

w Bug # 10867 fixed - Loading a .scg file failed when the

legend contained accentuated characters.

w Bug # 10879 fixed - Typo fixed in dec2base help page.

w Bug # 10880 fixed - Default start-up directory moved to

"My Documents folder" under Windows for icon shortcut.

w Bug # 10881 fixed - Typo fixed in ftest and ftuneq

help pages.

w Bug # 10885 fixed - Renamed "Exit" to "Exit SciNotes"

in SciNotes.

w Bug # 10904 fixed - Error messages of and() and

or() functions were not standard.

w Bug # 10913 fixed - The "View code" button was

missing in GUI demonstrations.

w Bug # 10915 fixed - It was not possible to select several

files when using button "Open file" in console toolbar.

w Bug # 10921 fixed - For ill-conditioned matrix, inv

function displayed a wrong value of rcond.

w Bug # 10928 fixed - Examples of save updated with

information to fix trouble under Windows.

w Bug # 10966 fixed - linspace was producing some

numerical errors on the last element.

w Bug # 10982 fixed - Completion failed when a space

was used before the command.

w Bug # 11010 fixed - Examples of preconditioning added

in gmres help page.

w Bug # 11029 fixed - Execution path to TMPDIR fixed in

the example given in dae help page.

w Bug # 11046 fixed - Sometimes, OverLoad(0) did not

called %_xxx but %x_xxx.

w Bug # 11048 fixed - In SciNotes, comment / uncomment

actions did not work properly.

w Bug # 11049 fixed - Link to intg help page added in

ode help page.

w Bug # 11050 fixed - The output argument rd in ode and

ode_root help pages was not documented.

w Bug # 11055 fixed - string function did not manage

implicit size type as input argument.

w Bug # 11069 fixed - An axe could be wrongly set as

parent for an uicontrol.

w Bug # 11070 fixed - The

"Visible"/"Enable"/"Position" properties of a

frame uicontrol did not impact its children.

w Bug # 11076 fixed - mlist('r'), tlist('r')

returned a wrong error message.

w Bug # 11077 fixed - rlist() returned an error.

w Bug # 11081 fixed - movefile, copyfile did not

support '~', 'TMPDIR', shortcuts in filenames.

w Bug # 11090 fixed - Typo fixed in

event_handler_function help page.

w Bug # 11093 fixed - isNamedVarExist() did not

search in builtin functions names.

w Bug # 11105 fixed - Crash with color_flag 3 fixed.

w Bug # 11114 fixed - Using load(file_descriptor,

...) is now obsolete.

w Bug # 11115 fixed - A graphic window was opened with

two xend().

w Bug # 11126 fixed - Error messages improved.

w Bug # 11129 fixed - lapackscilab.sce could not be

run outside its location.

w Bug # 11138 fixed - a = list() crashed under

Windows 64-bit.

w Bug # 11154 fixed - Grid color hid the plots in Graphics /

2D & 3D plots / plot2d demonstrations.

w Bug # 11166 fixed - datatipRemove example did not

work.

w Bug # 11167 fixed - datatipRemoveAll example did

not work.

w Bug # 11175 fixed - xstringl example did not work.

w Bug # 11186 fixed - 'typeof' of a type 130 returned

an error.

w Bug # 11194 fixed - A browsevar exception could

occur at start-up.

w Bug # 11203 fixed - Description for info output

argument was wrong in lsqrsolve help page.

Scilab 5.4.0 Release Notes - 24© 2012 - Scilab Enterprises

Page 25: Scilab5.4.0_ReleaseNotes

w Bug # 11205 fixed - A rare exception at Scilab start-up

could occur.

w Bug # 11222 fixed - Links added between xdel,

close and delete help pages.

w Bug # 11223 fixed - Deletion of datatips.

w Bug # 11244 fixed - Due to the variable browser, an

error was displayed in the console when deleting a global

variable.

w Bug # 11257 fixed - Memory leaks fixed in Scilab

graphics.

w Bug # 11265 fixed - msprintf crashed on a huge

string.

w Bug # 11281 fixed - References to x_left & y_top

were false in reversed axes cases in rubberbox help

page.

w Bug # 11289 fixed - swap_handles function modified

the properties.

w Bug # 11293 fixed - Line style was not taken into

account.

w Bug # 11298 fixed - Listboxes callback was executed

several times for one action.

w Bug # 11300 fixed - freson calculated wrong

frequencies in Scilab 5.3.3.

w Bug # 11318 fixed - Order of uimenus in a figure

changed when adding submenus.

w Bug # 11324 fixed - Restoring old files (< 5.4.0 format)

could fail due to new mechanism in SOD file loading.

w Bug # 11326 fixed - set(h, "enable", "off") and

set(h, "visible", "off") had no effect after menu

creation.

w Bug # 11328 fixed - strsplit returned a wrong error

message when the second input argument contained

wrong values.

w Bug # 11330 fixed - oldplot function removed.

w Bug # 11331 fixed - graypolarplot returned an error

about an unknown property.

w Bug # 11332 fixed - Default usage of contour2d was

producing some errors.

w Bug # 11333 fixed - Missing argument number checking

in comet added.

w Bug # 11343 fixed - The "isoview" figure property did

not work when the axes margins had been modified.

w Bug # 11346 fixed - Error messages added in cosm

function in case of bad usage.

w Bug # 11349 fixed - There was an error when the path

to external editor contained white spaces.

w Bug # 11360 fixed - In some help pages, f in calling

sequence was named mtx in the parameter section.

w Bug # 11369 fixed - colordef("black") returned an

error about an unknown property.

w Bug # 11372 fixed - Calling odeoptions returned an

error.

w Bug # 11385 fixed - length returned a wrong error

message when called without input argument.

w Bug # 11388 fixed - Calling

xsetech(frect=[0,0,100,100]) failed.

w Bug # 11390 fixed - When cond function had one input

argument, matrices could be non square. Moreover, cond

function has been updated to give the possibility to use

another norm than the one imposed (by default 2-norm).

w Bug # 11396 fixed - Overloading: toto([])=[] with

toto being an mlist failed.

w Bug # 11398 fixed - newest produced an

incomprehensible error message when called with a string

vector as second input argument.

w Bug # 11403 fixed - toprint and Print menu did not

work.

w Bug # 11409 fixed - xpoly crashed on polyline

allocation.

w Bug # 11411 fixed - save function used unsigned char

to store string length. Now it is an integer.

w Bug # 11420 fixed - When using the event_handler

of the default figure, events were not trapped.

w Bug # 11422 fixed - datatips did not work when the

figure contained uicontrols.

w Bug # 11423 fixed - When the variable "a" was

selected, all the a characters were highlighted rather than

only the "a" variable.

w Bug # 11426 fixed - save function shew a warning

message while saving user environment.

w Bug # 11434 fixed - After having set the

"auto_resize" default figure property to "off", plot

was no longer possible.

w Bug # 11443 fixed - There was no way to set default

language by the preferences under Windows.

w Bug # 11449 fixed - color function created a figure

when no current figure existed.

w Bug # 11450 fixed - Logarithmic ticks were not sorted.

w Bug # 11452 fixed - The use of diag optional argument

in lsqrsolve produced an error.

w Bug # 11457 fixed - gsort crashed when getting string

data from stack after big stacksize.

Scilab 5.4.0 Release Notes - 25© 2012 - Scilab Enterprises

Page 26: Scilab5.4.0_ReleaseNotes

w Bug # 11459 fixed - varname, command, constant

and option docbook tags were not handled.

w Bug # 11460 fixed - In the console, scrollbar was not

updated if nothing was entered at the prompt.

w Bug # 11466 fixed - fscanf was not set as obsolete as

it should have been.

w Bug # 11469 fixed - The drawing, using xfpolys, was

incremental instead of drawing at once at the end.

w Bug # 11472 fixed - Old menus were not removed

before adding the new ones in default figure.

w Bug # 11481 fixed - The title of axes was in front of

plots.

w Bug # 11482 fixed - The two plots drawn in Graphics /

Complex elementary function / Custom demonstration

were too small.

w Bug # 11485 fixed - delete function deleted axes

identifier before using it.

w Bugs # 11486 & # 11487 fixed - When a list was

inserted into itself, it produced Segfault or infinite loop.

w Bug # 11488 fixed - Java exception led to a segfault in

-ns mode when something was typed in the console.

w Bug # 11489 fixed - 'SliderStep' property was

ignored for uicontrols.

w Bug # 11490 fixed - comet produced wrong display

with matrix inputs.

w Bug # 11502 fixed - Some Java debug information was

displayed when playing with graphics.

w Bug # 11506 fixed - "Rendu d'équations mathématiques

dans le graphique Scilab" were missing some closure

tags in the examples.

w Bug # 11509 fixed - A progression bar was missing

during ATOMS operations.

w Bug # 11515 fixed - checkVarDimension help page

added and getNbInputArgument and

getNbOutputArgument help pages updated.

w Bug # 11517 fixed - Bad formatting fixed in the French

version of getenv help page.

w Bug # 11519 fixed - The colored lines in the legend of

nyquist plot were inverted.

w Bug # 11529 fixed - Only 512 chars could be entered in

the console, now it is set to 4096.

w Bug # 11532 fixed - Update of mkdir English and

French help pages.

w Bugs # 11533, # 11652 and # 11653 fixed - Typos in

messages of eigs function fixed, eigs help page

updated and optional booleans in eigs are boolean by

default to be consistent with Scilab's own data types.

w Bug # 11534 fixed - getshortpathname and

getlongpathname documentation updated to be clearer

about what happens on other OS than Windows.

w Bug # 11535 fixed - listfiles used on multiple

folders could return unusable results.

w Bug # 11537 fixed - In SciNotes, it was not possible to

modify font size with CTRL+scroll.

w Bug # 11538 fixed - xxxWideString functions (API

Scilab) did not check to_wide_string conversion

(crashed under GNU / Linux & Mac OS X).

w Bug # 11544 fixed - ilib_gen_cleaner did not add

command to remove "Debug" and "Release" folder under

Windows.

w Bug # 11547 fixed - _() moved into gettext() help

page.

w Bug # 11553 fixed - The uicontextmenu handles (and

their children) were not deleted at the end of execution.

w Bug # 11554 fixed - After using xcosPalAdd, a

message was displayed on 'quit'.

w Bug # 11558 fixed - Typo in helptools module fixed.

w Bug # 11563 fixed - Button was called "Open" (instead

of "Save") in the GUI used to select a file name for

graphic export.

w Bug # 11568 fixed - In SciNotes, only N-1 whites were

used for a tab when N was set.

w Bug # 11578 fixed - dir function under Windows took

into account the case to sort the results.

w Bug # 11582 fixed - Typo fixed in strchr help page.

w Bug # 11592 fixed - The example in bessel help page

failed.

w Bug # 11597 fixed - Under Mac OS X, the Preferences

window was not available through the standard shortcut

"CMD + ,".

w Bug # 11604 fixed - Some items were not localized in

"Scilab Preferences" window.

w Bug # 11606 fixed - exit() was too slow in nw mode

when driver("png") was set.

w Bug # 11612 fixed - Index of the max value of a

negative sparse was wrong.

w Bug # 11618 fixed - A(:) returned wrong values when

A was a complex sparse matrix.

w Bug # 11619 fixed - titlepage("Text"): the font

size was no longer maximized to fit the figure's sizes.

w Bug # 11628 fixed - Clearing a shortcut did not work in

Preferences.

Scilab 5.4.0 Release Notes - 26© 2012 - Scilab Enterprises

Page 27: Scilab5.4.0_ReleaseNotes

w Bug # 11640 fixed - Same behavior as in Scilab 5.3.3

plugged back at STDIN closure.

w Bug # 11641 fixed - In xmltoformat, parsing of the

CHAPTER files was too strict.

w Bug # 11645 fixed - Short description was wrong in

atomsGetLoadedPath help page.

w Bug # 11647 fixed - The phrase "The system cannot

find the file specified." in rmdir was not localized.

w Bug # 11654 fixed - Rendering of the title of genetic

algorithms help pages improved.

w Bug # 11655 fixed - external_object help chapter

was empty.

w Bug # 11657 fixed - Setting the callback_type

prope rty of an uicontrol was not taken into account.

w Bug # 11659 fixed - twinkle displayed warning

messages about show_pixmap function.

w Bugs # 11666, # 11667 and # 11670 to # 11676 fixed -

Add examples in signal processing help pages.

w Bug # 11683 fixed - figure_properties help page

did not explain what happens when the event_handler

and closerequestfcn properties were both set.

w Bug # 11684 fixed - mfft failed due to MKL fftw library

restrictions.

w Bug # 11685 fixed - gcbo variable was not defined

when executing functions set for "closerequestfcn"

and "resizefcn" properties.

w Bug # 11686 fixed - An error occurred when clicking

outside of an uicontextmenu area.

w Bug # 11688 fixed - The example in example_run help

page failed.

w Bug # 11697 fixed - ATOMS modules are now listed in

the "Toolboxes" menu when they are not automatically

loaded.

w Bug # 11701 fixed - Under Windows, a carriage return

was added in SciNotes each time the file is saved.

w Bug # 11703 fixed - Exception occurred when text was

selected in SciNotes color preferences.

w Bug # 11738 fixed - Rendering was of poor quality and

very slow when usign xsave / xload.

w Bug # 11745 fixed - Scilab export functions did not

export in EPS but in PS.

w Bug # 11760 fixed - Exceptions were thrown when

trying to display invalid LaTeX or MathML.

w Bug # 11761 fixed - There was an exception in

rendering MathML.

w Bug # 11763 fixed - In SciNotes, number of recently

opened files set in preferences was not taken into

account.

w Bug # 11764 fixed - ispc (Matlab to Scilab Conversion

Tips) help page was not updated regarding the MSDOS

removal.

w Bug # 11774 fixed - Wrong description in now help

page.

w Bug # 11787 fixed - There was a problem with toolbar

refreshing under Mac OS.

w Bug # 11794 fixed - Empty lists could not be saved /

loaded to / from SOD files.

w Bug # 11802 fixed - mrfit function redefined the diff

function.

w Bug # 11810 fixed - In EditVar, undesired data were

added when the edition was cancelled.

w Bug # 11810 fixed - In BrowseVar, contents of "visibility"

column were left aligned.

w Bug # 11810 fixed - In Editvar, under Mac OS, there

was no vertical / horizontal lines.

w Bug # 11834 fixed - New menu to set font or colors in

SciNotes.

w Bug # 11838 fixed - Maximized state of a window was

not saved in quitting.

w Bug # 11840 fixed - In Xcos, dialogs could not be

closed on escape.

w Bug # 11842 fixed - CTRL+X did not work in Scilab

console.

w Bug # 11861 fixed - An exception could occur when

closing a figure.

w Bug # 11865 fixed - There was no information about a

LaTeX error in doc generation.

Scilab 5.4.0 Release Notes - 27© 2012 - Scilab Enterprises