[Scilab-users] FROMWSB Scilab

2015-05-26 Thread ANDREY_PSTU
Hello, guys. I have a problem with FROMWSB block. I simulate a simple model
which use a workspace parameter (V.time and V.values) and draw a simple
graph.When i use scicosim function i want to change a parameters of FROMWSB
block (new V.time and V.values) and continue simulation. But i don't know
how to change a parameters of this block. Is it possible? Please, I need
your help. Thank you.



--
View this message in context: 
http://mailinglists.scilab.org/FROMWSB-Scilab-tp4032337.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] New computer, graphics(?) crashes

2015-05-26 Thread Nikolay Strelkov
Dear Tim!

For me it seems that you need to use proprietary AMD drivers - fglrx.
Open drivers are buggy and show low-performance.

If you want to use open driver on Ubuntu 12.04 LTS (precise) you should
upgrade its HWE to 14.04 LTS (trusty).

With best regards,
Nikolay.
 27 мая 2015 г. 3:22 пользователь Tim Wescott t...@wescottdesign.com
написал:

 Running a Scilab algorithm that puts up a lot of graphs, Scilab crashes
 with the report below.  It's only happened with Scilab, but it appears
 to be the video driver that's complaining, so I don't know if this is a
 problem with Linux or with Scilab.  The processor is an AMD A10 with
 on-board video processing which is considerably different from my
 12-year-old Dell that this computer is replacing.

 Does anyone have clues for the clueless?  Particularly suggestions for
 isolating, fixing, or working around the problem?

 radeon: Failed to allocate a buffer:
 radeon:size  : 3328 bytes
 radeon:alignment : 256 bytes
 radeon:domains   : 2
 EE ../../../../../../src/gallium/drivers/radeon/r600_texture.c:1012
 r600_texture_transfer_map - failed to create temporary texture to hold
 untiled copy
 radeon: Failed to allocate a buffer:
 radeon:size  : 1280 bytes
 radeon:alignment : 256 bytes
 radeon:domains   : 4
 radeon: Failed to allocate a buffer:
 radeon:size  : 1 bytes
 radeon:alignment : 1 bytes
 radeon:domains   : 2
 radeon: Failed to allocate a buffer:
 radeon:size  : 1 bytes
 radeon:alignment : 1 bytes
 radeon:domains   : 2
 Segmentation fault (core dumped)


 --

 Tim Wescott
 www.wescottdesign.com
 Control  Communications systems, circuit  software design.
 Phone: 503.631.7815
 Cell:  503.349.8432


 ___
 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] long strings of two bites cahracter

2015-05-26 Thread fujimoto2005
I failed to change current directory to a desired one.
The cause of this seems to be a long path strings of two bites character.
The length of my path string is 147bites and 97 characters(I am a Japanese
and I use the tow bites for one character)
When I input a path strings in a command line ,a 70th chinese character
changed to é§'’.
When I replace the 70th character by 'xxx' and I input the renewed string
,there is no problem,I mean no changed character.
Of course I can't change the actual directory name.
Is there any solutions?



--
View this message in context: 
http://mailinglists.scilab.org/long-strings-of-two-bites-cahracter-tp4032339.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-26 Thread Antoine Monmayrant

Le 05/26/2015 11:34 AM, Serge Steer a écrit :

Le 25/05/2015 15:29, Antoine Monmayrant a écrit :
  
Le Samedi 23 Mai 2015 00:05 CEST, Samuel Gougeon sgoug...@free.fr a écrit:
  

Hello Tim,

Le 21/05/2015 17:48, Tim Wescott a écrit :

.../...
First, is there a way to get it to stop?  ctrl-C does not do the job.

In your startup file .scilab or scilab.ini, you may add the instruction
lines(1000)
in order to turn on the pager and make it prompting the user to continue
listing lines after each block of 1000 lines (or whatever you want).
At the prompt, CTRL+C + abort works.

OK, but this also interrupts the execution of any script that display more than 
1000 lines on the command line!
This can be particularly annoying when using scripts that process big data and  
output some progression infos on the command line.

If one as set lines(1000), it is possible to stop the display just
entering n when the system proposes to continue or to stop the display.


Exactly, and all the calculations are stopped, waiting for the user input.
If this occurs in the middle of the night while the user is sleeping, it 
means half a night of calculations wasted.

It occured to me a couple of times and it's a pain.

Antoine


It's never nice to find out the next morning that your script stopped at 10% to 
ask whether it should keep on displaying text.
For me, this is more a workaround (with one big caveat) than a real solution.
The Julia way of displaying big matrices seems interesting.
Would it be hard to implement?
(honest question, I have no idea what work it implies)
As someone filled a bug/feature request?

Cheers,

Antoine


Regards
Samuel

___
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

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




--
+++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
 
 email : antoine.monmayr...@laas.fr

 permanent email : antoine.monmayr...@polytechnique.org

+++

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


Re: [Scilab-users] fscanfMat help

2015-05-26 Thread Serge Steer
Le 19/05/2015 18:02, Francesco Pedretti a écrit :
 Dear all,

 I started to use Scilab only last week and I have some problems with
 the command fscanfMat. I have to read three text file in order to
 create a post processing of a fortran file. The problem is that the
 code today decided to not open these files (yesterday it worked). I
 tried also wth the command mopen and mgetl but it doesn't work. The
 error message is the 999 cannot open the file.

Using  A=fscanfMat('flux.txt'); supposes that the Scilab working
directory contains the flux.txt file.
You can change the Scilab working directory with the cd function.
Serge Steer


 In attachment I send also the scilab script and the three txt files.
 Thanks for your help.

 Best regards,

 Francesco Pedretti


 ___
 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] Accidentally displaying huge matrices

2015-05-26 Thread Serge Steer
Le 25/05/2015 15:29, Antoine Monmayrant a écrit :
  
 Le Samedi 23 Mai 2015 00:05 CEST, Samuel Gougeon sgoug...@free.fr a écrit: 
  
 Hello Tim,

 Le 21/05/2015 17:48, Tim Wescott a écrit :
 .../...
 First, is there a way to get it to stop?  ctrl-C does not do the job.
 In your startup file .scilab or scilab.ini, you may add the instruction
 lines(1000)
 in order to turn on the pager and make it prompting the user to continue 
 listing lines after each block of 1000 lines (or whatever you want).
 At the prompt, CTRL+C + abort works.
 OK, but this also interrupts the execution of any script that display more 
 than 1000 lines on the command line!
 This can be particularly annoying when using scripts that process big data 
 and  output some progression infos on the command line.
If one as set lines(1000), it is possible to stop the display just
entering n when the system proposes to continue or to stop the display.
 It's never nice to find out the next morning that your script stopped at 10% 
 to ask whether it should keep on displaying text.
 For me, this is more a workaround (with one big caveat) than a real solution.
 The Julia way of displaying big matrices seems interesting.
 Would it be hard to implement?
 (honest question, I have no idea what work it implies)
 As someone filled a bug/feature request?

 Cheers,

 Antoine

 Regards
 Samuel

 ___
 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

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


Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-26 Thread Stéphane Mottelet

btw how can you overload the display of double matrices ?

S.

Le 26/05/2015 11:34, Serge Steer a écrit :

Le 25/05/2015 15:29, Antoine Monmayrant a écrit :
  
Le Samedi 23 Mai 2015 00:05 CEST, Samuel Gougeon sgoug...@free.fr a écrit:
  

Hello Tim,

Le 21/05/2015 17:48, Tim Wescott a écrit :

.../...
First, is there a way to get it to stop?  ctrl-C does not do the job.

In your startup file .scilab or scilab.ini, you may add the instruction
lines(1000)
in order to turn on the pager and make it prompting the user to continue
listing lines after each block of 1000 lines (or whatever you want).
At the prompt, CTRL+C + abort works.

OK, but this also interrupts the execution of any script that display more than 
1000 lines on the command line!
This can be particularly annoying when using scripts that process big data and  
output some progression infos on the command line.

If one as set lines(1000), it is possible to stop the display just
entering n when the system proposes to continue or to stop the display.

It's never nice to find out the next morning that your script stopped at 10% to 
ask whether it should keep on displaying text.
For me, this is more a workaround (with one big caveat) than a real solution.
The Julia way of displaying big matrices seems interesting.
Would it be hard to implement?
(honest question, I have no idea what work it implies)
As someone filled a bug/feature request?

Cheers,

Antoine


Regards
Samuel

___
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

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



--
Département de Génie Informatique
EA 4297 Transformations Intégrées de la Matière Renouvelable
Université de Technologie de Compiègne -  CS 60319
60203 Compiègne cedex

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


Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-26 Thread Antoine Monmayrant
 
Le Mardi 26 Mai 2015 19:03 CEST, Tim Wescott t...@wescottdesign.com a écrit: 
 
 On Mon, 2015-05-25 at 15:29 +0200, Antoine Monmayrant wrote:
   Le Samedi 23 Mai 2015 00:05 CEST, Samuel Gougeon sgoug...@free.fr a 
  écrit: 
   
   Hello Tim,
   
   Le 21/05/2015 17:48, Tim Wescott a écrit :
.../...
First, is there a way to get it to stop?  ctrl-C does not do the job.
   In your startup file .scilab or scilab.ini, you may add the instruction
   lines(1000)
   in order to turn on the pager and make it prompting the user to continue 
   listing lines after each block of 1000 lines (or whatever you want).
   At the prompt, CTRL+C + abort works.
  
  OK, but this also interrupts the execution of any script that display more 
  than 1000 lines on the command line!
  This can be particularly annoying when using scripts that process big data 
  and  output some progression infos on the command line.
  It's never nice to find out the next morning that your script stopped at 
  10% to ask whether it should keep on displaying text.
  For me, this is more a workaround (with one big caveat) than a real 
  solution.
  The Julia way of displaying big matrices seems interesting.
  Would it be hard to implement?
  (honest question, I have no idea what work it implies)
  As someone filled a bug/feature request?
 
 Argh.  I just did the lines(1000) thing, and now I think I'm going to
 take it out, because I do NOT want this to happen!
 
 Is it all that hard to interrupt the display of a large matrix with
 ctrl-C?
 
 (I vote for the Julia way of displaying things, even though I have no
 clue what Julia is, BTW).

It's a fairly new language that aims at solvaing the two language problem, ie 
reducing the gap between interactive, easy to use and prototype in but also 
slow languages (scilab, matlab, python, ...) and more efficient and less 
friendly languages (C, Fortran, ...).
It's new and still evolving a lot but quite interesting (more info at 
julialang.org).

But back to the discussion, I also think that the julia way of displaying is a 
good solution.

 
 -- 
 
 Tim Wescott
 www.wescottdesign.com
 Control  Communications systems, circuit  software design.
 Phone: 503.631.7815
 Cell:  503.349.8432
 
 
 ___
 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] (no subject)

2015-05-26 Thread Андрей Глушко
 Hello, guys. I have a problem with FROMWSB block. I simulate a simple model 
which use a workspace parameter (V.time and V.values) and draw a simple 
graph.When i use scicosim function i want to change a parameters of FROMWSB 
block (new V.time and V.values) and continue simulation. But i don't know how 
to change a parameters of this block. Is it possible? Please, I need your help. 
Thank you.


С уважением,
Андрей Глушко
andreifootbal...@mail.ru___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-26 Thread sgougeon
btw how can you overload the display of double matrices ?

you can redefine disp(), but AFAIK it is not possible to overload the default 
display for native types such as booleans, decimal or complex numbers, 
strings...
For instance, if you define %s_p(), it won't never be called when displaying a 
matrix of decimals or complexes.

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