[Scilab-users] functions in scilab which can provide the information of scilab script file

2013-09-03 Thread hilife5
I want to know, is there exist any functions in scilab which can provide the
information of scilab script file.
function1.sci is a script file and content of this script file is given
below

function y = function1 ( x )
y = 1 * function1_support ( x )
endfunction
function y = function1_support ( x )
y = 3 * x
endfunction

After loading the file using .net application then i want to know, is there
any scilab function exist for getting the information like function name,
input parameter name and output parameter name.

.net code for executing the script file is as follows

obj1.SendScilabJob("exec('scriptpath')")




--
View this message in context: 
http://mailinglists.scilab.org/functions-in-scilab-which-can-provide-the-information-of-scilab-script-file-tp4027327.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] functions in scilab which can provide the information of scilab script file

2013-09-03 Thread hilife5
I didn't know the function name. when i am using listfunctions() call after
executing the scilab script. then i am getting all the function that has
been executed in scilab. Is there any way to get function names from the
scilab script. 



--
View this message in context: 
http://mailinglists.scilab.org/functions-in-scilab-which-can-provide-the-information-of-scilab-script-file-tp4027327p4027335.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


[Scilab-users] how to get list of object that are present in scilab script file

2013-09-03 Thread hilife5
I want to know is there exist any way to get the list of objects like
variable names, matrices, plots that are present in scilab script file. 

Thanks  



--
View this message in context: 
http://mailinglists.scilab.org/how-to-get-list-of-object-that-are-present-in-scilab-script-file-tp4027336.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


[Scilab-users] Not able to get the scilab variable value from VB.Net

2013-10-14 Thread hilife5
DLL is made with these function. Kindly correct the code where i am doing
error .

[DllImport(API_SCILAB_DLL, CharSet = CharSet.Ansi)]
public unsafe static extern int getNamedScalarInteger32([In]IntPtr
_pvCtx, [In] String _pstName, [In,Out] Int32 _piData);

 [DllImport(API_SCILAB_DLL, CharSet = CharSet.Ansi)]
public static extern api_Err createNamedScalarInteger32([In]IntPtr
pvApiCtx, [In]String _pstName,[In] int _iData);

These are two function that has been used to create and access scilab
valiable. 
 public unsafe int getNamedScalarInteger32(string name)
{
int data=0 ;
System.IntPtr ptrEmpty = new System.IntPtr();
 int iret= Scilab_cs_wrapper.getNamedScalarInteger32(ptrEmpty,
name, data);
return data; 

}

 public unsafe int createNamedScalarInteger32(string  varname, int iData)
{
System.IntPtr ptrEmpty = new System.IntPtr();
Scilab_cs_wrapper.api_Err SciErr =
Scilab_cs_wrapper.createNamedScalarInteger32(ptrEmpty, varname, iData);
 return SciErr.iErr;
}

When creating a variable from vb application , not able to access its value.
the code that i have tried is 


obj1.SendScilabJob("x = 5;")
obj1.SendScilabJob("y=x+1;")
Dim out As Integer = obj1.getNamedScalarInteger32("y")





--
View this message in context: 
http://mailinglists.scilab.org/Not-able-to-get-the-scilab-variable-value-from-VB-Net-tp4027610.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


[Scilab-users] Is there any way to supress th plot() output.

2013-10-18 Thread hilife5
I want to know, is there any way exist to suppress the output for the plot
command, when i run 

x=[1:2:10]
y=[1:2:10]
plot(x,y);

Graphic window number 0 is opened. i dont want to open this window. How this
can be done?

Can we change the name of scilab plot window?



--
View this message in context: 
http://mailinglists.scilab.org/Is-there-any-way-to-supress-th-plot-output-tp4027647.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] Is there any way to supress th plot() output.

2013-10-20 Thread hilife5
yes i want the plot output in file directly..I will use this plot in my vb
application,. Thanks for your response. 



--
View this message in context: 
http://mailinglists.scilab.org/scilab-users-Is-there-any-way-to-supress-the-plot-command-output-tp4027647p4027656.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] Is there any way to supress th plot() output.

2013-10-21 Thread hilife5
My query has been solved. I have to save the plot through VB programming with
open the plot window 



--
View this message in context: 
http://mailinglists.scilab.org/scilab-users-Is-there-any-way-to-supress-the-plot-command-output-tp4027647p4027658.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