Hello Jens, this line in your function or script returns its file name as you
requested:
[filepath,filename]=get_absolute_file_path();
Best regards
Stefan
On 2024-01-18 11:42, Jens Simon Strom wrote:
Hi,
I look for a command which -- as part of a script -- returns a string
containing the
Hi Jens, this line in your function or script gives the filename as you
requested:
[filepath,filename]=get_absolute_file_path();
Regards
Stefan
On 18/01/2024 11.42, Jens Simon Strom wrote:
Hi,
I look for a command which -- as part of a script -- returns a string
containing the file name
On a laptop computer of mine with Intel (8:th gen.) integrated graphics, the
environment variable
_JAVA_OPTIONS="-Djogl.disable.openglcore"
makes some lines in a plot wrongly drawn, but
LIBGL_ALWAYS_SOFTWARE=1
makes them correct.
Stefan
On 14/10/2023 13.50, Samuel Enibe wrote:
This has been
The strange thing is that at the moment, after
$ sudo apt update && sudo apt upgrade
the plotting works without setting a new environment variable! However, when I
start Scilab from the command line, lots of Java errors are still reported.
Stefan
On 14/10/2023 13.50, Samuel Enibe wrote:
or it is a normal situation to have to tweak
the desktop file? So far I haven't had this kind of problem with other programs
using graphic capabilities.
Thank you again.
Regards.
Federico
On 13/10/2023 19:45, Stefan Du Rietz wrote:
Hello Federico, I had to set an environment variable in my desktop
Hello Federico, I had to set an environment variable in my desktop file:
Exec=env LIBGL_ALWAYS_SOFTWARE=1
/usr/local/scilab/scilab-2023.1.0/bin/scilab
Regards
Stefan
On 13/10/2023 22.10, Federico Miyara wrote:
Dear All,
I'm trying to use Scilab on Linux Mint 21.2 (which is similar to or
On 2023-01-11 00:11, Samuel Gougeon wrote:
Le 07/04/2022 à 09:50, Lester Anderson a écrit :
Hello all,
Very basic query but how do you print all the values from a result via
mprintf?
e.g.
fac = factor(1729)
7 13 19
mprintf('Factors of 1729 are: %d\n', fac)
just prints 'Factors of 1729
ot;,"slider",...
"units","normalized",... "position",[0.1 0 0.9 0.05],... "background",[1
1 1],... "min",t(1),"max",t($),"sliderstep",(t(2)-t(1))*[1 1]);
but=uicontrol("style","pushbutton",..
Hi, thanks.
Yes, but it doesn't seem to make much difference. And I don't exactly
understand the different options.
Stefan
On 2022-09-20 12:03, Stéphane Mottelet wrote:
Hi,
Did you try to play wth callback_type (interruptible or not) ?
Le 20/09/2022 à 10:48, Stefan Du Rietz a écrit
Stefan
On 2022-09-19 08:45, Stéphane Mottelet wrote:
Hello Stefan,
Can you give a minimal and reproductible example ?
S.
Le 18/09/2022 à 12:18, Stefan Du Rietz a écrit :
Hello,
I have a problem with GUI: when I choose a menu or press a button,
sometimes it takes half a minute before
Hello,
I have a problem with GUI: when I choose a menu or press a button,
sometimes it takes half a minute before the callback starts. Scilab is
then using 100% of CPU, according to Bash top. I suppose it has
something to do with Java? What can I do?
--> ver
ans =
"Scilab Version: "
Hello Federico,
--> isreal(%i^2, %eps)
ans =
T
--> %i^2 == -1
ans =
T
Regards
Stefan
On 2022-04-07 05:24, Federico Miyara wrote:
Dear all,
Consider
M = 16
w = [ones(1,M/4),zeros(1,M/4)]
w = [w(1:M/2), 0, conj(w($:-1:2))]
v = ifft(w)
isreal(v)
The first 3 lines defines a real
3, Stephane Mottelet wrote:
Can you try, on the command line :
_JAVA_OPTIONS="-Djogl.disable.openglarbcontext=1" ./bin/scilab &
---
Stephane Mottelet
Le 2022-03-29 21:43, Stefan Du Rietz a écrit :
Hi Stéphane,
Thank you very much, your command worked!
$ sudo apt install
Hi Stéphane,
Thank you very much, your command worked!
$ sudo apt install libtinfo5
Then Scilab started OK, but with many messages:
stefan@LenovoTS:/usr/local/scilab/scilab-6.1.1$ ./bin/scilab &
[1] 276737
stefan@LenovoTS:/usr/local/scilab/scilab-6.1.1$ X Error of failed
request: BadValue
Hello all,
I am trying to get Scilab 6.1.1 running in a new Computer (Xubuntu Linux
20-04, nVidia T-600 with proprietary driver) from
scilab-6.1.1.bin.linux-x86_64.tar.gz in the same way as in another
computer with the same OS but with Java 8,
But when I try to start from the terminal:
, Stefan Du Rietz a écrit :
Hello,
with Scilab 6.1.1 and Linux (Ubuntu with XFCE) the background color in
Scinotes turned grey, which makes almost all text unreadable. In
Scinotes Preferences and in the Command window it is white.
Is there anything I can do?
Regards
Stefan
Hello,
with Scilab 6.1.1 and Linux (Ubuntu with XFCE) the background color in
Scinotes turned grey, which makes almost all text unreadable. In
Scinotes Preferences and in the Command window it is white.
Is there anything I can do?
Regards
Stefan
Hello,
On 2022-01-21 23:54, Samuel Gougeon wrote:
Hello Claus,
Le 21/01/2022 à 20:58, Claus Futtrup a écrit :
Hi Scilabers
Today I tried to replace xdel(winsid()) in one of my scripts with
close(winsid()) because Scilab shows a warning in the console:
Warning: Feature xdel(...) is
scilab.org/show_bug.cgi?id=14905
Thanks,
Clément
-Original Message-
From: users On Behalf Of Stefan Du Rietz
Sent: Monday, October 25, 2021 9:34 AM
To: users@lists.scilab.org
Subject: Re: [Scilab-users] Scilab crashes on x_choose_modeless
Hello, I get the same result (nothing but the titl
Hello, I get the same result (nothing but the title: "Scilab Choose
Message") with Scilab 6.1.1 under Linux. And Scilab hangs ...
Stefan
On 2021-10-25 09:06, Stéphane Mottelet wrote:
Hi,
Let us see if someone reacts to/cares about this message...
S.
Le 24/10/2021 à 22:58, P M a écrit :
Sorry, I didn't read yor message to the end ...
On 2021-10-22 14:18, Stefan Du Rietz wrote:
Hello Philipp,
you can change the button labels.
Regards
Stefan
On 2021-10-22 12:56, P M wrote:
Dear,
in a messagebox:
Is it possible to have a button other than the first one pre-selected?
e.g
Sorry,
I missed a "2":
function y = yblu(yin)
y = -1 + log10(yin)*2/3
endfunction
Stefan
On 2021-10-01 12:58, Stefan Du Rietz wrote:
Hello David,
if you don't need automatic scaling, you could use drawaxis() to get the
second and third y-axis and then scale the y-data of t
Hello David,
if you don't need automatic scaling, you could use drawaxis() to get the
second and third y-axis and then scale the y-data of those lines to plot
them in the first axes. In your figure:
function y = yblu(yin)
y = -1 + log10(yin)/3
endfunction
function y = yred(yin)
y = -1 +
with
Regards
Samuel
Le 22/09/2021 à 12:08, Stefan Du Rietz a écrit :
Hello,
when starting Scilab 6.1.1 with
$ /usr/local/scilab/scilab-6.1.1/bin/scilab
I get the message:
Startup execution:
loading initial environment
at line
Hello,
when starting Scilab 6.1.1 with
$ /usr/local/scilab/scilab-6.1.1/bin/scilab
I get the message:
Startup execution:
loading initial environment
at line81 of function xmlGetValues (
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/xml/macros/xmlGetValues.sci
line 94 )
at
Hello,
can I remove the version 6.0.1 from the terminal with
$ sudo rm -r /usr/local/scilab/scilab-6.1.0/
or is that not enough?
Regards
Stefan
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
On 2021-08-15 15:54, Samuel Gougeon wrote:
Le 15/08/2021 à 11:28, Lester Anderson a écrit :
Hello Samuel,
The size of ns (number of steps) and seq (sequence of values) are
variable depending on the integer input, and this seems to be one issue.
For this reason, seq must be a list, leading
, Stefan Du Rietz <mailto:s...@durietz.se>> wrote:
Hello Lester,
the problem is that seq in each loop is a vector of increasing length!
Stefan
On 2021-08-15 12:05, Lester Anderson wrote:
> Hi Stefan,
>
> I did try that before, but got an error - &quo
Hello Lester,
the problem is that seq in each loop is a vector of increasing length!
Stefan
On 2021-08-15 12:05, Lester Anderson wrote:
Hi Stefan,
I did try that before, but got an error - "Submatrix incorrectly defined"
Lester
On Sun, 15 Aug 2021 at 10:56, Stefan Du Rietz
On 2021-08-15 09:00, Lester Anderson wrote:
Hello,
Basic query. I have a simple code that applies the Collatz conjecture
equation (3n+1) by running a function and then runs a loop over the
values stored in prime (the first 8 Prime numbers):
clear
exec('collatz.sci',-1);
prime =
Hello Jens,
by "%%"
Stefan
On 2021-07-14 16:55, Jens Simon Strom wrote:
Hallo Scilab family,
How can I replace /percen/t by the symbol % in the command
printf('Change: %5.1f percent \n',5.0) ?
I use Version 6.1.0
Kind regards
Jens
___
users
Hello, Stéphane, thank you very much!
Stefan
On 2021-06-24 17:51, Stéphane Mottelet wrote:
Le 24/06/2021 à 17:41, Stefan Du Rietz a écrit :
On 2021-06-24 15:45, Stéphane Mottelet wrote:
Le 24/06/2021 à 13:09, Stefan Du Rietz a écrit :
Hello,
yes, and to get the useful part
On 2021-06-24 15:45, Stéphane Mottelet wrote:
Le 24/06/2021 à 13:09, Stefan Du Rietz a écrit :
Hello,
yes, and to get the useful part of the window a little higher. The
same without toolbars (that I never use).
Isn't there a text-file with window settings somewhere?
no
But when I
, Stéphane Mottelet wrote:
Hi,
Why do you need this feature ? I mean, do you need a kind off
accessibility setting to prevent docking them by accident ?
S.
Le 18/06/2021 à 21:00, Stefan Du Rietz a écrit :
On 2021-06-18 20:53, Samuel Gougeon wrote:
Hello,
Le 18/06/2021 à 18:28, Stefan Du Rietz
On 2021-06-18 20:53, Samuel Gougeon wrote:
Hello,
Le 18/06/2021 à 18:28, Stefan Du Rietz a écrit :
Hello,
how can I make all my Scilab windows not dockable?
And how can I get rid of the toolbars?
I can do both with figure windows.
Fine. So, with "all your Scilab windows&quo
Hello,
how can I make all my Scilab windows not dockable?
And how can I get rid of the toolbars?
I can do both with figure windows.
Regards
Stefan
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
On 2020-10-18 16:12, Stéphane Mottelet wrote:
Hello,
Did you try to play with the callback_property ? I think that making the
callback interruptible or non interruptible may change things.
S.
Hello Stéphane,
thanks for the proposition, which never concurred to me! But, since
there is no
On 2020-10-19 13:11, Stefan Du Rietz wrote:
On 2020-10-18 19:34, Antoine Monmayrant wrote:
On 18/10/2020 10:43, Stefan Du Rietz wrote:
Hello Antoine,
thank you very much for your replies, especially your hint about
Java. The problem is that my GUI is rather complex with several
levels
On 2020-10-18 19:34, Antoine Monmayrant wrote:
On 18/10/2020 10:43, Stefan Du Rietz wrote:
Hello Antoine,
thank you very much for your replies, especially your hint about Java.
The problem is that my GUI is rather complex with several levels and
the delay is not always happening. However
for this bug...
Antoine
On 17/10/2020 21:00, Stefan Du Rietz wrote:
Hello Stephane and Antoine,
I tried to explain why I cannot. After I have pressed the button with
the callback, I can see that it takes a long time until the toc()
message from the start of myfunction arrives. I don't know how
On 2020-10-17 17:10, Stéphane Mottelet wrote:
Hello Stefan,
Do you have a complete example using e.g. an uicontrol or else ?
S.
Le 17 oct. 2020 à 16:49, Stefan Du Rietz a écrit :
Hello,
in the latest version Scilab 6.1.0, I have noticed that sometimes there is a
long delay before the execution
Hello,
in the latest version Scilab 6.1.0, I have noticed that sometimes there
is a long delay before the execution of a callback, If I try to measure
it, e.g. by using tic()
"callback","tic();myfunction()"
and then, in the beginning of myfunction(), having
disp(toc())
the time is
On 2020-09-12 16:55, Stefan Du Rietz wrote:
On 2020-09-12 00:06, Stefan Du Rietz wrote:
On 2020-09-11 19:32, Samuel Gougeon wrote:
Le 11/09/2020 à 16:51, Stefan Du Rietz a écrit :
Hello Samuel,
read() never works OK with m = -1, see your own comment in Bug 15075!
This prevented me from
On 2020-09-12 00:06, Stefan Du Rietz wrote:
On 2020-09-11 19:32, Samuel Gougeon wrote:
Le 11/09/2020 à 16:51, Stefan Du Rietz a écrit :
Hello Samuel,
read() never works OK with m = -1, see your own comment in Bug 15075!
This prevented me from upgrading to Scilab 6 until I found out how
On 2020-09-11 19:32, Samuel Gougeon wrote:
Le 11/09/2020 à 16:51, Stefan Du Rietz a écrit :
Hello Samuel,
read() never works OK with m = -1, see your own comment in Bug 15075!
This prevented me from upgrading to Scilab 6 until I found out how to
do it with fscanfMat(). But then I had
Please replace my latest e-mail with this.
Hello Samuel,
read() never works OK with m = -1, see your own comment in Bug 15075!
This prevented me from upgrading to Scilab 6 until I found out how to do
it with fscanfMat(). But then I had to remove all blank lines in my
files (which I had to
Hello Samuel,
read() never works OK with m = -1, see your own comment in Bug 15075!
This prevented me from upgrading to Scilab 6 until I found out how to do
it with fscanfMat(). But then I had to remove all blank lines in my
files (which I had to quickly find different parts of my data).
You don't *need* it, of course ;-)
cafix is the handle of your axes from plot() which you got with gca().
You can then set the properties of it with the dot method.
Stefan
On 2020-08-08 23:33, Stefan Du Rietz wrote:
Hello Fukashiimo, you don't nedd the last line! All is already done
Hello Fukashiimo, you don't nedd the last line! All is already done by
the previous lines.
Stefan
On 2020-08-08 23:25, Fukashiimo wrote:
Hello, Mr. Stefan,
Thanks.
plot (X,Y);
cafix = gca();
cafix.tight_limits="on";
cafix.auto_scale="off";
cafix.data_bounds = [-0.5,-2;0.5,2];
That is if you want to change the data_ bounds each time (for very
different data). I thought that was what you wanted. Otherwise you could
use it only once after the first plot, or even before if you have no
other figure open. (thanks Samuel!)
On 2020-08-08 15:08, Stefan Du Rietz wrote
Hello, not before but after!
Stefan
On 2020-08-08 15:03, Fukashiimo wrote:
Hello, Mr. Stefan,
Thanks.
Should we put following codes before each plot command?
cafix = gca();
cafix.tight_limits="on";
cafix.auto_scale="off";
cafix.data_bounds = [-0.5,-2;0.5,2];
--
Sent from:
Sorry for a wrong letter in my previous mail!
Hello Fukashiimo,
1. get the handle of your axes:
--> cafix = gca();
2. set the properties:
--> cafix.tight_limits="on";
--> cafix.auto_scale="off";
--> cafix.data_bounds = [-0.5,-2;0.5,2];
Regards
Stefan
On 2020-08-08 12:15, Fukashiimo wrote:
Hello,
--> help data_bounds
Regards
Stefan
On 2020-08-08 10:56, Fukashiimo wrote:
Hello,
I would like to define the Y Range of plot. Could you tell me the Scilibe
code to realize this.
If I use the plot command, Y range is automatically set by Scilab.
I would like to set the Y range, e.g.
On 2019-11-28 20:55, Samuel Gougeon wrote:
Le 28/11/2019 à 17:47, Antoine Monmayrant a écrit :
.../...
Also, you should better use get(a, 'propertyName') or set(a,
'propertyName', value) instead of a.propertyName and
a.propertyName=value in your callbacks.
I have found that this latter
Le Jeudi, Novembre 28, 2019 17:05 CET, Claus Futtrup a
écrit:
I think you can achieve what you want by setting ".visible='off'" for all the uicontrols you don't want to show initialy. You can then set ".visible='on'" after the first call to the callback (or at each call if you are lazy).
Hello,
J managed to resolve it by reinstalling Scilab with
"Select components"
"Graphic User Interface"
"Java Runtime (...)" deselected!!
Probably the already installed Java Runtime interfered?
Regards
Stefan
On 2017-09-03 10:08, Stefan Du Rietz wrote:
Hello Antoine,
I managed to fix this issue in Windows 7
(http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html)
by reinstalling Scilab without Java.
Regards
Stefan
On 2017-12-04 16:38, Antoine Monmayrant wrote:
Hi all,
Answering my own post: it was a graphic
On 2017-10-05 17:25, philippe wrote:
Le 05/10/2017 à 12:58, Yves Rambi a écrit :
Can someone recommend a good and exhaustive ebook to buy for Scilab/XCos
(introduction and further reading)?
As a French speaker I read the book wrote by Yvon Degré and Serge Steer
and I think it is very goog! It
Hello Jens,
-->M = ['a','b';'c','d'];
-->mprintf("%s %s\n", M)
a b
c d
Regards
Stefan
On 2017-10-05 10:41, Jens Simon Strom wrote:
Hi Scilab experts,
How can I print a string matrix on the console without leading and
trailing exlamation marks (!)?
['a','b';'c','d'] should simply be
On 2017-09-02 21:39, Samuel Gougeon wrote:
Le 02/09/2017 à 20:58, rlandersen a écrit :
I still have the problem.
Anyone found a solution for this?
Please post.
Does the console version run? It does not run the Java virtual Machine.
This may make a difference in your case.
If it does, then
I have the same problem. I have uninstalled 6.0 and have then several
times uninstalled Scilab 5.5.2, deleted SCIHOME and reinstalled Scilab
5.5.2, which worked before(!), to no avail ...
/Stefan
On 2017-06-25 19:21, rlandersen wrote:
I have the same problem.
When I try to launch Scilab I
Hello Frieder, have you tried just this?
Koeffizienten_Pfad = uigetfile(["*.txt"],'',"Wählen Sie die Datei
Koeffizienten");
B = read(Koeffizienten_Pfad,-1,4)
Redards
Stefan
On 2017-03-20 17:26, Frieder Nikolaisen wrote:
Hello,
I do try to read a matrix of floating point numbers from a
or software setup); please describe what's specific in your
setup and post the result
of `[s,d]=getdebuginfo()` using Scilab 5.5.2.
Thanks,
--
Clément
Le dimanche 19 février 2017 à 11:09 +0100, Stefan Du Rietz a écrit :
Dear Scilab team,
thank you very much for the new version!
But when I try to start
you have a test script to try, see if the issue can be reproduced?
Cheers
Lester
On 22 February 2017 at 10:15, Stefan Du Rietz <s...@durietz.se> wrote:
Hello,
I got Scilab 6 to work in a Windows 10 laptop. However, my loading of data
with read() took almost half an hour.
From toc() and m
I have 32-bit versions.
Stefan
On 2017-02-22 11:47, Stefan Du Rietz wrote:
I agree!
Regards
Stefan
On 2017-02-22 11:41, Lester Anderson wrote:
Hi all,
Just a general query, but has anyone noticed that it takes a lot
longer to load Scilab 6 on Windows compared to v5.5.2 (64-bit)?
Only
I agree!
Regards
Stefan
On 2017-02-22 11:41, Lester Anderson wrote:
Hi all,
Just a general query, but has anyone noticed that it takes a lot
longer to load Scilab 6 on Windows compared to v5.5.2 (64-bit)?
Only installed a little while ago, but 5.5.2 loads really promptly on
a laptop with 4
Hello,
I got Scilab 6 to work in a Windows 10 laptop. However, my loading of
data with read() took almost half an hour.
From toc() and mprintf():
Loading of data took 26 min 23 sec
In Scilab 5.5.2 it took just over a second.
From toc() and mprintf():
Loading of data took 1.219 sec.
What
Dear Scilab team,
thank you very much for the new version!
But when I try to start "Scilab 6.0.0" from the Windows 7 Start menu I
get this message:
"Scilab cannot create Scilab Java Main-Class (we have not been able to
find the main Scilab class. Check if the Scilab and third-party
packages
Hello Claus,
you put the parentheses wrong:
elseif or([model==3 model==4])
Regards
Stefan
On 2017-01-22 17:01, Claus Futtrup wrote:
Hi there
OK, so I converted to elseif (source code at the bottom of my post).
Now Scilab complains like this:
elseif or[(model==3) (model==4)] then
Hello Pierre,
is this too simple?
function outer()
a = 1
function inner()
mprintf("a = %i (inner: a has the value of the outer function)\n", a)
a = resume(a);
endfunction
inner()
mprintf("a = %i (outer: a has got its new inner value of 2\n", a)
endfunction
/Stefan
On
Sorry, I left out a line below (a = 2;)
Hello Pierre,
is this too simple?
function outer()
a = 1
function inner()
mprintf("a = %i (inner: a has the value of the outer function)\n",a)
a = 2;
a = resume(a);
endfunction
inner()
mprintf("a = %i (outer: a has got its new inner
Hello Jens,
T = msprintf("%3i\n", N)
Regards
Stefan
On 2016-08-28 16:17, Jens Simon Strom wrote:
Hello,
I try to transform the number colum N containing integer elements
from 1 to 999, e. g.
N=[1;11;111]
into
T=["1";"11";"111"].
I tried with commands like justify, repmat, string, size,
1. Launch Scilab
2. Do this
-->input("Press Return!", "s")
-->xcos()
Regards
Stefan
On 2016-08-15 17:58, Stefan Du Rietz wrote:
This line in my loadsci.sce is the culprit:
r = input("usb2data? [n] ", "s");
The following lines don't matter.
This line in my loadsci.sce is the culprit:
r = input("usb2data? [n] ", "s");
The following lines don't matter. This must certainly be a bug?
Regards
Stefan
On 2016-08-12 16:23, Stefan Du Rietz wrote:
But why can I launch Xcos after running my loadsci.sce(!) if I hav
Bignier wrote:
You're welcome!
I don't know what is in that loadsci.sci (sounds more like a .sce by
the way) but if it is a personal file I'd start looking into it ;)
Regards,
Paul
On 08/12/2016 03:06 PM, Stefan Du Rietz wrote:
Paul,
thank you very much for your help. Generally it is one's own
ferring.
Can you please disable their autoload and try to launch Xcos? If it
works, you may want to load them one by one until you can't relaunch
Xcos ; that way we'll know which one is causing the trouble.
Thank you, best regards,
Paul
On 08/12/2016 10:45 AM, Stefan Du Rietz wrote:
Hello Paul
Hello,
how do I start Xcos for the first time ever?
When I try from the menu: Applications - Xcos,
I get this message:
8361 Tue Aug 9 21:14
ckobject(28);if with_module("xcos") then xcos(); else
disp(gettext("Please install xcos module
.
But why did it happen?
Regards
Stefan
On 2016-04-11 14:01, Paul Bignier wrote:
Hello,
You may delete you SCIHOME folder, that way SciNotes' config will be
renewed.
Regards,
Paul
On 04/11/2016 12:46 PM, Stefan Du Rietz wrote:
Hello,
suddenly I could not start SciNotes. Before, I had by mistake
Hello,
suddenly I could not start SciNotes. Before, I had by mistake dragged
a bin-file instead of a sci-file to the SciNotes window and it
crashed. However, after a restart of SciNotes it worked for a while.
But after a restart of Scilab:
-->scinotes
-->
and nothing happens. What can I
Thanks, I used the switch /LOG to check what happened when I ran the
dos command from Scilab.
But there is a workaround without an extra file.
My first test command was (the switches are needed when I use it with
a network server):
-->RCcmd
RCcmd =
ROBOCOPY C:\Users\stefan\Documents\test
?
Regards
Stefan
On 2015-10-28 00:32, Stefan Du Rietz wrote:
Hello,
I want to run and get the output from the command robocopy under
Windows 10 from Scilab. I have tried the Scilab functions unix_g(),
dos(), and powershell() but I always get the same empty output:
->[rep, stat] = unix_g(
Hello,
I want to run and get the output from the command robocopy under
Windows 10 from Scilab. I have tried the Scilab functions unix_g(),
dos(), and powershell() but I always get the same empty output:
->[rep, stat] = unix_g(cmd)
stat =
1.
rep =
However, the command is
On 2015-05-14 22:51, paul.carr...@free.fr wrote:
Dear All,
I've been thinking in creating a string in order to run specific instructions
afterward (I'm under Windows OS for the moement);
An example of my code:
#
A =
On 2015-05-14 19:00, Stefan Du Rietz wrote:
On 2015-05-13 21:25, Samuel Gougeon wrote:
Le 13/05/2015 13:54, Stefan Du Rietz a écrit :
Thanks, but it changes the same axes wherever I click!
I do not get this behavior with Scilab 5.5.2 on win7_x64. Only the
clicked axes is rotated, whatever
On 2015-05-14 20:07, Samuel Gougeon wrote:
Le 14/05/2015 19:11, Stefan Du Rietz a écrit :
PS And who wants to rotate a 2d-plot (and in error)? If you really
want that, you should have to do something!
I rather agree. Interactive 3D rotation could be activated by default
only for 3D viewed
On 2015-05-13 12:47, Philipp Mühlmann wrote:
/ But my problem is:/
/1. I change only the x-axis in the axes a/
/2. I let Scilab set the position with a.title.auto_position=on/
/3. I change a.title_position(2)=new_vertical_position/
/4. unfortunately a.title_position(1) is not updated/
//
I guess
)=new_vertical_position
then the title gets the correct position: the automatic x value and
the y value new_vertical_position.
Calixte, please, that must be a bug?
Best regards
Stefan
2015-05-13 14:18 GMT+02:00 Stefan Du Rietz s...@durietz.se
mailto:s...@durietz.se:
On 2015-05-13 12:47
You don't need find().
k = x1;
Stefan
On 2015-04-20 12:09, Frederic Jourdin wrote:
I suggest something like this:
function b=g(x)
b= 1/x
k= find( x1)
b( k)= x( k) + 1
endfunction
Fred
Le 19/04/2015 17:57, fujimoto2005 a écrit :
function b=g(x)if x1 then
b=x+1
Du Rietz wrote:
On 2014-11-20 23:58, Samuel Gougeon wrote:
Hello,
Le 19/11/2014 18:39, Stefan Du Rietz a écrit :
Hello,
I have made quite an effort to write commands in numerous sci-files
with the low level function xpoly() to avoid changes to the axes.
But (surprise, surprise!),
The fix
On 2014-11-20 23:58, Samuel Gougeon wrote:
Hello,
Le 19/11/2014 18:39, Stefan Du Rietz a écrit :
Hello,
I have made quite an effort to write commands in numerous sci-files
with the low level function xpoly() to avoid changes to the axes.
But (surprise, surprise!),
The fix of the bug 8956
On 2014-11-20 12:59, Antoine Monmayrant wrote:
On 11/19/2014 06:39 PM, Stefan Du Rietz wrote:
Hello,
I have made quite an effort to write commands in numerous sci-files
with the low level function xpoly() to avoid changes to the axes.
But (surprise, surprise!), suddenly the low level function
which are defined with the format macro, i.e. you
get the same output
with
--string(%pi)
and
--disp(%pi)
So it is just a feature, not a bug :-D
S.
Le 20/10/2014 19:49, Stefan Du Rietz a écrit :
But why the difference between msprintf() and string()?
Stefan
On 2014-10-20 18:19, Stéphane
Hello,
look here:
--x = 1.2345
x =
1.2345
--msprintf(%0.1f, x)
ans =
1,2
--string(0.1 * floor(10 * x))
ans =
1.2
This could cause disastrous results, e.g. when written to files ...
Regards
Stefan
On 2014-08-02 22:35, Stefan Du Rietz wrote:
With Scilab here, I mean Scilab 5.5.0
)
ans =
1.2
S.
Le 20/10/2014 17:48, Stefan Du Rietz a écrit :
Hello,
look here:
--x = 1.2345
x =
1.2345
--msprintf(%0.1f, x)
ans =
1,2
--string(0.1 * floor(10 * x))
ans =
1.2
This could cause disastrous results, e.g. when written to files ...
Regards
Stefan
On 2014-08-02 22:35
Hello,
I got a strange error and tried to debug it:
-1-dv
dv =
2014.8.31.8.0.
Is the third element more than the number of days in the month?
--eday = eomday(2014, 8)
eday =
31.
-1-incmon = find(dv(:, 3) eday)
incmon =
1.
But both are integers 31.:
With Scilab here, I mean Scilab 5.5.0.
On 2014-08-02 22:30, Stefan Du Rietz wrote:
Thank you, Leon,
it confirms that Scilab 5.4.1 handles it correctly.
But when I have LC_NUMERIC=en_DK.utf8 which means decimal comma, see
below, Scilab is in error:
--msprintf(%0.2f, %pi)
ans =
3,14
Hello,
under Xubuntu 14.04 (Ubuntu Linux with XFCE) and locale en_DK.UTF-8
all Scilab printf functions output decimal commas instead of points:
--x = 0.6231166;
--xstr = msprintf(%0.2f, x)
xstr =
0,62
which leads to
--eval(xstr)
ans =
0.
and (worse) wrong numbers written to text
=sl_SI.UTF-8
No problem here, printf functions outputs decimal point.
2014-07-29 16:06 GMT+02:00 Stefan Du Rietz s...@durietz.se
mailto:s...@durietz.se:
Hello,
under Xubuntu 14.04 (Ubuntu Linux with XFCE) and locale
en_DK.UTF-8 all Scilab printf functions output decimal commas
Leon, Can you please try it with Scilab 5.4.1 under openSUSE? And can
you show its Bash output from
$ locale
When I was running Scilab 5.4.1 under Xubuntu 12.04, printf worked OK,
but also in Bash. So the question is: Why do you now get different
results in Scilab and Bash?
And *the
Hello,
I have a function using csim that worked OK in 5.4.1 but not in 5.5.0.
However, if I use the csim.sci from 5.4.1 it also works in 5.5.0.
I stop the simulation, read the states, insert an impulse by adding to
the first state, and continue with the the states as initial states
(x0) in a
1 - 100 of 161 matches
Mail list logo