Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have downloaded zipped scilab file. Now I can operate scilab by ./bin/scilab command. It shows
Gtk-Message: Failed to load module "gnomebreakpad": /home/owner/scilab-5.1.1/lib/thirdparty/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/bug-buddy/libbreakpad.so.0)
I have no idea what it says. So couldn't do anything. Please let me know if anyone knows how to resolve this!
Now I wanted to load a datafile (200x9 matrix) to plot the data. I have seen from internet that load(datafile) should load the data. But it does not. It says " Undefined variable: datafile ". Could anyone please help me how to load a datafile in scilab. I just need to load a datafile (200 row, 9 column matrix) and plot from that.
I have no idea about your first issue, the second is probably as simple as putting citation marks around the datafile. (If you don't scilab will interpret it as a variable.)
So it will look something like this:
load("datafile")
where datafile is the name of the file (you might wanna use the full path).
Thanks for your reply. I tried to load (gave full path of the datafile) in that way. It says
!--error 246
Function not defined for given argument type(s),check arguments or define function %_load for overloading.
I want to let you know how I'm working with scilab as of now. I downloaded scilab-5.1.1.bin.linux-i686.tar.gz file. Then unzipped that. It creates a new folder in my home directory scilab-5.1.1. Then I go that directory and type ./bin/scilab which opens my scilab window. I can't work in scilab (with the same command) from any other directory. I tried to copy my datafile in the scilab directory but it say "Permission denied". Now as I wanted to load my datafile (200 row, 9 column matrix) with the command you said with proper path, it gives me error. I'm not sure whether I have to install anything else or whether scilab can load any kind of matrix! Really, it might be a simple problem but bugs me a lot.
Also, let me suggest a slightly more convenient way to use scilab:
First make a new directory in your home folder:
Code:
mkdir my-scilab
Then, whenever you wanna use scilab:
Code:
cd my-scilab
/home/yourhomefolder/scilab-5.1.1/bin/scilab
and it will be launched to your scilab folder, where you can put your data files. Then you also won't need to specify the full path to the files; only the name of the file.
Hi,
Thanks for your reply. Still I couldn't load my file with load('datafile'). It was showing the same error 246. May be something to with this big(not so big really!!) datafile. Then I found a command " aa = read('datafile',-1,9); " which could load my datafile. If I give 2 instead of 9 then it loads 2 columns. It solved my problem. Thanks for the alias information.
BTW, do you know why this comes when I try to edit my figure
" WARNING: Due to your configuration limitations, Scilab switched in a mode where mixing ui controls and graphics is not available. Type "help usecanvas" for more information. "
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.