• Edit
• Info
• Attachments
Differences between revisions 1 and 9 (spanning 8 versions)
 ⇤ ← Revision 1 as of 2007-01-23 20:14:48 → Size: 719 Editor: cornet Comment: ← Revision 9 as of 2020-08-24 09:58:52 → ⇥ Size: 294 Comment: update link #2 Deletions are marked like this. Additions are marked like this. Line 1: Line 1: Scilab API = API Scilab = Line 3: Line 3: Some examples (tips) to manipulate Scilab structures Scilab old APIs (stack1, stack2 and stack3) have been deprecated. API Scilab is now the way to go. This API is available since Scilab 5.2.0 and will be maintained in Scilab 6.X family whereas old API stack will be dropped. Line 5: Line 6: boolean matrix (Scilab 5.x) :{{{int m=3,n=2;int mat; /* m * n = 6 */mat=1;mat=0;mat=1;mat=0;mat=1;mat=0;if (! C2F(cwritebmat)("test_bool",&m,&n,&mat,strlen("test_bool")) ){  /* error */}else{  int m2=3,n2=2;  int mat2; /* m2 * n2 = 6 */  if ( ! C2F(creadbmat)("test_bool",&m2,&n2,&mat2,strlen("test_bool")) )  {    /* error */  }  else  {    int i,j=0;    SendScilabJob("disp(test_bool);");    for (i=0;i

# API Scilab

Scilab old APIs (stack1, stack2 and stack3) have been deprecated. API Scilab is now the way to go. This API is available since Scilab 5.2.0 and will be maintained in Scilab 6.X family whereas old API stack will be dropped.

public: Scilab API (last edited 2020-08-24 09:58:52 by clement.david@scilab-enterprises.com)
{"ft_lang_label":"__label__en","ft_lang_prob":0.6097361,"math_prob":0.45968437,"size":1356,"snap":"2020-45-2020-50","text_gpt3_token_len":518,"char_repetition_ratio":0.12943786,"word_repetition_ratio":0.3778802,"special_character_ratio":0.41666666,"punctuation_ratio":0.21671827,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9509066,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-04T01:11:47Z\",\"WARC-Record-ID\":\"<urn:uuid:91a5ee5a-d5c3-4070-a751-0fa998080376>\",\"Content-Length\":\"16602\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4d910ea9-e2e0-4fb5-9b7b-5ebcbc996c75>\",\"WARC-Concurrent-To\":\"<urn:uuid:c88b6844-7388-4183-b6b9-0ce576133ed3>\",\"WARC-IP-Address\":\"176.9.3.186\",\"WARC-Target-URI\":\"https://wiki.scilab.org/Scilab%20API?action=diff&rev1=1&rev2=9\",\"WARC-Payload-Digest\":\"sha1:5QUT267UHOZNG4TMZAYEPT7VBBKP5NBQ\",\"WARC-Block-Digest\":\"sha1:FC7MSPW2KHHMUOVCOXZWM75DAPCAIPPJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141733120.84_warc_CC-MAIN-20201204010410-20201204040410-00536.warc.gz\"}"}