Re: [Scilab-users] Digit Grouping in msprintf?

2017-11-06 Thread Rafael Guerra
Hi,

The thousands separator flag for the printf (apostrophe) is non-standard and it 
does not seem to work in Scilab.
You may need to program this in order to get a nicer printout.

Regards,
Rafael 

-Original Message-
From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Richard llom
Sent: Thursday, November 02, 2017 3:49 PM
To: users@lists.scilab.org
Subject: [Scilab-users] Digit Grouping in msprintf?

Hey,
is it possible to have this
msprintf('%.f kWh',2725977)
output something like "2.725.977 kWh" or even better "2 725 977 kWh" (with
thin spaces)?

Thanks
richard



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Digit Grouping in msprintf?

2017-11-06 Thread sgougeon
Hi Richard,

Are you sure that a relative accuracy of 5e-8 of your result is 
relevant/actual/significant?!
(.f displays 6 decimal digits after the dot).
If yes, and if 
msprintf('%5.2f GWh',2725977/1e6)
does not match your actual data and relative accuracy, AFAIK there is no way 
with the Scilab C format to group digits.

So, you may post-process the resulting string with some strsplit(s,..) and 
strcat(s, " ") calls.
Tuning the space's width is mainly/only possible with a LaTeX rendering on 
graphics.

HTH
Samuel

- Mail original -
De: "Richard llom" 
À: users@lists.scilab.org
Envoyé: Jeudi 2 Novembre 2017 15:48:49
Objet: [Scilab-users] Digit Grouping in msprintf?

Hey,
is it possible to have this
msprintf('%.f kWh',2725977)
output something like "2.725.977 kWh" or even better "2 725 977 kWh" (with
thin spaces)?

Thanks
richard



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] How to link a static library

2017-11-06 Thread Shamika Mohanan
Hello,

I'm building a toolbox where I have to link a static library (.a file).

I'm able to build the toolbox using *exec builder.sce*.

I have the following line in the .start file

*link(lib_path + "/liboctave.a");*

When I load the toolbox using *exec loader.sce*, I get the error

*link: The shared archive was not loaded: liboctave.a: invalid ELF header*

If I change it to* link(lib_path + "/liboctave");*, I get the error *:
cannot open shared object file: No such file or directory*

How do I use link() to link a static library in the .start file?

Regards,
Shamika
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Bug? plot with nan values (Linux Ubuntu 17.04

2017-11-06 Thread Richard llom
On my Linux machine it is also working as expected.

System:Host: cray3 Kernel: 4.12.4-1-CHAKRA x86_64 bits: 64 Desktop: KDE
Plasma 5.10.5 Distro: Chakra
Machine:   Device: desktop Mobo: ASUSTeK model: A88XM-PLUS v: Rev X.0x
serial: N/A
   UEFI: American Megatrends v: 3003 date: 03/04/2017
CPU:   Quad core AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G (-MCP-)
cache: 8192 KB
   clock speeds: max: 4200 MHz 1: 1700 MHz 2: 1700 MHz 3: 1700 MHz
4: 1700 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Fiji [Radeon R9 FURY /
NANO Series]
   Display Server: x11 (X.Org 1.19.3 ) driver: amdgpu Resolution:
2560x1440@143.86hz
   OpenGL: renderer: Gallium 0.4 on AMD FIJI (DRM 3.15.0 /
4.12.4-1-CHAKRA, LLVM 4.0.1)
   version: 4.5 Mesa 17.1.5



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Increase memory

2017-11-06 Thread SCHULZ Wolfgang
Hello,
I would recommend changing to SCILAB 6. There the stacksize doesn't exist and 
you can use the installed memory of your PC.
Wolfgang

Von: users [mailto:users-boun...@lists.scilab.org] Im Auftrag von Paul Bignier
Gesendet: Dienstag, 31. Oktober 2017 12:38
An: users@lists.scilab.org
Betreff: Re: [Scilab-users] Increase memory




Hello Matteo,



Thank you for reporting this issue, could you please report it to our bugzilla 
with a minimal test-case as well as your config (Scilab version, your operating 
system, installed toolboxes, ...)?

http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software



Best regards,

Paul


Paul BIGNIER
Development engineer
---
ESI Group - Scilab
99 rue des Solets - 94513 Rungis, France
Phone: +33.1.41.73.58.77
https://scilab.io
https://esi-group.com


From: users 
mailto:users-boun...@lists.scilab.org>> on 
behalf of Matteo Toma mailto:matteot...@cozzani.com>>
Sent: Monday, October 30, 2017 3:45 PM
To: users@lists.scilab.org
Subject: [Scilab-users] Increase memory

Hello

I'm working with very large matrices and I use the karmarkar function.

When processing comes to the karmakar function.
Scilab says:
"Stack size has been exceeded!"

I used the maximum stacksize value but the error remains.

My running computer on Windows has 8GB of memory so that the computer is not 
the limiting factor. There is a way to increase the maximum stack size?


Best regards

Matteo Tomà
Production Engineer

matteot...@cozzani.com






[cid:image003.jpg@01D353B8.4FF39E10]

DOTT.ING.MARIO COZZANI S.r.l.
Viale XXV Aprile, 7
19021 Arcola (SP) - ITALY
Tel. :+39 0187 955 81
Fax. :+39 0187 955 853
i...@cozzani.com
www.cozzani.com 



This email message is for the exclusive use of the intended recipient(s) and 
may contain confidential, privileged and non-disclosable information. Any 
unauthorized review, use, disclosure or distribution is prohibited. If you are 
not the intended recipient, please contact the sender by reply email 
immediately and destroy any and all copies of the message.



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Digit Grouping in msprintf?

2017-11-06 Thread Richard llom
Hey,
is it possible to have this
msprintf('%.f kWh',2725977)
output something like "2.725.977 kWh" or even better "2 725 977 kWh" (with
thin spaces)?

Thanks
richard



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users