Search
| More

June 5, 2016

Editing .sce and .sci files on your smartphone

Tag
0 comments


Ok, you have been programming Scilab functions and scripts all day on your favorite desktop computer. You assume it's all you can do for the day and you decide to leave the desk for a little distraction far away Scilab (an Irish pub and a fresh Belgium beer is a very good solution), and suddenly, in the pub, you find the missing algorithm solution for your functions/scripts. Dam ! How I can edit this functions on my smartphone ??!! Once again the solution is right there on your smartphone and it is unnecessary to waste money and time searching for dedicated applications on the Apple store or on the Play store. You're surely a file manager/browser native application on your smartphone, so the only thing to do is to replace the .sce and .sci extension for .txt and then edit the file with your favorite text editor (like Polaris Office or Simple Notepad, ...).

Note: I assume you are using also a cloud-Web solution like Dropbox, Copy, Drive, ... where you upload the Scilab scripts from your desktop computer, so you can download them to your smartphone when you want.

Read more...

June 2, 2016

Labview and Scilab

Tag
0 comments

Labview generates .lvm files. Don't waste your time looking for dedicated Scilab scripts or functions for read this kind of files. You can easily read this files with the function csvRead.sci because the Labview files are just like Excel files in csv format.

If you use the csvRead function directly with only the name of the file as argument, you will obtain a vector or a matrix with NaN (the header and other comments) and the numerical data. With the function thrownan you can obtain a new vector or matrix without the NaN.

If you're looking for interfacing Labview with Scilab during the signal acquisition, you should take a look on "NI Labview to Scilab Gateway":

http://sine.ni.com/nips/cds/view/p/lang/fr/nid/210055

Read more...

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP