--> atomsInstall("xls_link")
xls_link (Automation link with Excel) A easy way to call excel(TM) from Scilab xls-link (0.3.3) - 2013 * fix trouble in xls_SetData with row range ("A1:D1") and string data * fix bad allocation size in sci_XLS_setProperty
Upload date : 2013-05-15 14:21:22 MD5 : 75cb1b9744be17e443276dc8560a159f SHA1 : aea4891e4facc2daad21217cebe4981c538661bf Downloads : 1090 File list
Windows 32-bit Automatically generated by the ATOMS compilation chain
Upload date : 2013-05-15 15:00:12 MD5 : 3713f533d1b57f706a4221980dbc17c3 SHA1 : e4bf9a0ae0f474a1e950ae1d79b71ed4381f95c1 Downloads : 2460 File list
Windows 64-bit Automatically generated by the ATOMS compilation chain
Upload date : 2013-05-15 14:47:37 MD5 : ae3ff35faf298ca183d44593ed162461 SHA1 : 1ec599140a1a7b5f18dec3002e6330abd06fdfa5 Downloads : 5220 File list
Windows version (i686) Automatically generated by the ATOMS compilation chain
Upload date : 2016-06-22 17:36:00 MD5 : db2157f0c0676a55eef137907219aab3 SHA1 : 8f4ee469a5d21205faa2c1ba31140f9cb514f38b Downloads : 264
Windows version (x64) Automatically generated by the ATOMS compilation chain
Upload date : 2016-06-22 17:36:01 MD5 : a942d97001f42b3ee368a266e30bf7c3 SHA1 : 0ab9f659c1cf080a2954c90f7080bd6cdffe078a Downloads : 2518
Please modify: Entity: DIGITEO - Scilab Enterprises
hahaha
Excuse me if the question is stupid but... How the **** do I use this? I see no help or documentation. Is there a set of functions that xls-link makes available to me? How do I use those functions? I see that the Atom is loaded, but I have no clue how to use it. thanks
Now I see the help. It wasn't there initially. I copied it from 'xls_link-0.3.3-1-src.zip'. I think it is missing in the installation package (?)
This comment has been deleted.
Hi Egabro, Documentation is generated during compilation process, so source package does not contain help jar file, only help sources ( xml files ). If you install package via atoms, you can use help like "help xls_Open" Antoine
Thanks. As is turns out, the help files for the ATOMS don't load properly if the previous Scilab session was closed while the help window was still open. All I had to do to get the help for xls_link back was to close the help window and open it again. Thanks for xls_link
the "xls_SetData" function does not behave consistently when rows greater than 2 are used. I particularly have a problem when it's target is "A8". Sometimes it is anything except "A1" or in one trial, I tried A1-7 and they were fine, then A8 crashes. A10-A16 checked out ok on that trial. It was a problem in my code, but then I tried running the example file as a check: xls_link_setget_datas.dem.sce Changing line 31 from: xls_SetData("A2", A); to xls_SetData("A8", A); I get the following error: Warning !!! Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION) with "xls_setProperty" function. Save your data and restart Scilab. Also, is there perhaps a way to create another function that would take the destination coordinates as integers A1 = 1,1 and A8 = 8,1? Windows 7 64-bit Office 2010 32-bit Scilab 5.4.1 32-bit
the "xls_SetData" function does not behave consistently when columns are between 670 and 705. The function ret = xls_ExtendRange(i, j) doesn?t work correctyl !--error 999 xls_SetData: Unable to extend range at line 23 of function xls_SetData called by : at line 126 of function imp_country called by : Windows 7 2-bit Office 2010 32-bit Scilab 5.4.1 32-bit
They also not working correct for me! :( The command sequence generates Sheets but not put on them the names, and not saves the data string in the cells. Only for the last one it fills the cells with data. I mean the last sheet from the sequence for i=1:10. Also it not put the correct name on the sheet. It puts the name that should be, but when it generate the next sheet the old sheet, become Sheet1, again! I don't know, may be I'm doing something wrong. Here is the sequence: xls_NewExcel(); xls_AddWorkbook(); xls_SetVisible() for i=1:10 x = xls_AddWorksheet(); xls_SetWorksheet(x); xls_SetWorksheetName("My Worksheet " + string(i)); xls_SetData("A1", "Sheet " + string(i)); sleep(1000); end xls_SetSave(%f); xls_SaveAs('/test') xls_Close(); xls_Quit(); Please guide me!
I tried to install the package, but there seems to be a problem. I stardet to install the Package with Atoms, but the error "WARNING: xls_link gateways not loaded." showes up. The xls_link folder with all the data is in the contrib folder, so it should be instaled. I use win7x64 Roland
Roland, have you found a solution to this problem since 12th July?
I have the same problem as Roland Lihl...
This module is out of work. The DLL defining built-in functions is not shipped in the binary file.
Posting this here and on the XLL page I had an issue that I believe is very common, and as a novice programmer - took a minute to iron out: Need to run a scilab script from Excel Script imports values from Excel Does math Results are sent back to Excel Reached out to Scilab Enterprises. They quoted me a few thousand $ to develop a functioning 'excel live link' toolbox to perform the above I managed to do it rather simply, and thought this should be public ~9 line macro is all it takes VBA Shell function to execute script (requires full path to scilex.exe and your script. See the introtoscilab.pdf for "-f" syntax) Use readxls to get values from excel to scilab (works great) Do math Write results to a temp csv with csvWrite Have script exit scilab Have macro wait till your temp csv exists Then refresh data connection that pulls values into proper places Then Kill the csv. Done with 1 button click!
I am on the issue.
Dear Alex, I have to admit I am quite disappointed of your reaction: "Reached out to Scilab Enterprises. They quoted me a few thousand $ to develop a functioning 'excel live link' toolbox to perform the above " My colleagues and I from the Scilab Team gave efforts to come up with an industrial grade solution for your need, as we do for all of our clients. I don't think that it is unappropriate to propose additional services for industrial users, as it is a way for us to finance the development of Scilab. If you just wanted a quick and dirty hack, you should have been clearer on that.
Yann, In all of our communications I was very clear on what we wanted to do: call scilab from excel, import values, do math, and export. Those were the only goals or requirements ever presented... I am highly confident that your industrial grade solution would have been 'better' or 'cleaner' with a proper toolbox. I have nothing against Scilab enterprises or your development services; should have been clearer on 'quick and dirty' -Alex