Re: [Scilab-users] How to install modules manually

2015-11-30 Thread Lester Anderson
I forgot to say I am working on Windows:

Tried the command:

-->atomsInstall('c:\ss20-work\scilab\swt-0.3.0.1-2-src.zip')
 !--error 1
atomsDESCRIPTIONread: The file
"C:\Users\landerso\AppData\Roaming\Scilab\scilab-5.4.1\.atoms\x64\tmp_1448901817\swt\DESCRIPTION"
does not exist.
at line  46 of function atomsDESCRIPTIONread called by :
at line 160 of function atomsInstall called by :
atomsInstall('c:\ss20-work\scilab\swt-0.3.0.1-2-src.zip')

The zip file is there so not sure what is going on.

Think I see the issue: https://atoms.scilab.org/toolboxes/swt - says
it is being "packaged". The zip file contains all the source code and
the builder.sce etc. (I asume that is the reason.)

Lester

On 30 November 2015 at 16:25, Antoine Monmayrant
 wrote:
> Le 11/30/2015 04:41 PM, Lester Anderson a écrit :
>>
>> Hello,
>>
>> Is there a simple way to install modules for use in Scilab 5 when no
>> direct Internet access. Having dowloaded a module zip file - what is
>> the procedure to install?
>
>
> atomsInstall('very/long/path/to/the/atom/zipfile.zip');
>
> If you are under Linux, you'd better get a tarfile.tar.gz.
> I had some problem installing on a Linux machine an atom.zip file created on
> a Windows machine.
>
> Cheers,
>
> Antoine
>>
>>
>> Thanks
>> Lester
>> ___
>> 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] How to install modules manually

2015-11-30 Thread Antoine Monmayrant

Le 11/30/2015 04:41 PM, Lester Anderson a écrit :

Hello,

Is there a simple way to install modules for use in Scilab 5 when no
direct Internet access. Having dowloaded a module zip file - what is
the procedure to install?


atomsInstall('very/long/path/to/the/atom/zipfile.zip');

If you are under Linux, you'd better get a tarfile.tar.gz.
I had some problem installing on a Linux machine an atom.zip file 
created on a Windows machine.


Cheers,

Antoine


Thanks
Lester
___
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 install modules manually

2015-11-30 Thread Lester Anderson
Hello,

Is there a simple way to install modules for use in Scilab 5 when no
direct Internet access. Having dowloaded a module zip file - what is
the procedure to install?

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


Re: [Scilab-users] Xcos Coselica blocks - Error while running - C compiller

2015-11-30 Thread windkraft
Hello Paul

Of course the Xcos example worked not.
So I followed several suggestions out of forums and mailing lists concerning
this theme.
And all error messages which are mentioned above showed up on my w7
computer.

Therefore it would be nice to get an information in which constallation it
realy works and do it handish without the atoms GUI.
That pathes, prepare configuration files etc.

Cheers Peter




--
View this message in context: 
http://mailinglists.scilab.org/Xcos-Coselica-blocks-Error-while-running-C-compiller-tp4033072p4033140.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] Xcos Coselica blocks - Error while running - C compiller

2015-11-30 Thread Paul Bignier


Hi,

Can you run the Modelica demos (Demos->Xcos->Electrical systems), or 
does it tell you that you lack a compiler?
What is the return of 'haveacompiler 
' & 
'findmsvccompiler 
'?


Please refer to supported compilers 
 for 
more info.

Hope this helps,
Paul

On 11/28/2015 07:58 AM, windkraft wrote:

Hello

I have the same problem, Scilab is missing a compiler on a windows 7
maschine even there is one in the main directory.
And as it looks in several posts the problem or a variation of is exist in
spite of some explanations what could possibly help.

Is there someone who has a Scilab installation and Scilab finds the C
Compiler?
If so, could you explain which files must be stored in which relative pathes
and which environmental variables has to be adjusted in which way.
And what should be the contens of configuration files belonging this theme.

Thanks, Peter



--
View this message in context: 
http://mailinglists.scilab.org/Xcos-Coselica-blocks-Error-while-running-C-compiller-tp4033072p4033129.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


--
Paul BIGNIER
Development engineer
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
http://www.scilab-enterprises.com

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


Re: [Scilab-users] getting the first column number of each row

2015-11-30 Thread Jan-Åge Langeland

[a y]=max(int8(x>.5),'c');

JÅ


On 30.11.2015 06:54, fujimoto2005 wrote:

I want to get the first column number of each row with %T.
Now I use loop as follows.

x=rand(10,10);
for i=1 :10
y(i)=min(find(x(i,:)>0.5);
end

Is there any way to get  y without using 'for end' loop because it will take
a time when row number is large .

Best regards.




--
View this message in context: 
http://mailinglists.scilab.org/getting-the-first-column-number-of-each-row-tp4033132.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





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


Re: [Scilab-users] getting the first column number of each row

2015-11-30 Thread Pierre-Aimé Agnel

Hi,

You can do:
x = rand(10, 10);
tmp= zeros(10, 10);
tmp( find(x > 0.5) ) = 1;
[max_tmp, y] = max(tmp, "r");
//y holds the indices of the first row where tmp is at max value

Hope this helps

Best regards

Le 30/11/2015 06:54, fujimoto2005 a écrit :

I want to get the first column number of each row with %T.
Now I use loop as follows.

x=rand(10,10);
for i=1 :10
y(i)=min(find(x(i,:)>0.5);
end

Is there any way to get  y without using 'for end' loop because it will take
a time when row number is large .

Best regards.




--
View this message in context: 
http://mailinglists.scilab.org/getting-the-first-column-number-of-each-row-tp4033132.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


--
Pierre-Aimé Agnel
R Projects Manager
Phone:  +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.60
http://www.scilab-enterprises.com

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


Re: [Scilab-users] getting the first column number of each row

2015-11-30 Thread fujimoto2005
Hi,Angel and JA
I can get the solutions.

Thanks a lot for your helps.

Best regards.



--
View this message in context: 
http://mailinglists.scilab.org/getting-the-first-column-number-of-each-row-tp4033132p4033136.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