[scilab-Users] Exception_access_violation

Allan CORNET allan.cornet at inria.fr
Wed Jun 4 08:56:53 CEST 2008


Hi,

 

Have you try to remove your folder where you have your toolbox ?

 

Genlib is used to create a library  with some .sci files

 

Example with your function alphae

 

You create a alphae.sci and you put in your function :

 

function [alphaeR]=alphae(fck)
if (fck <=Cmax) then
    alphaeR=Es/Ecm(fck)
else
    disp("fck > C90/100 (EC2-3.1.2(2)P");
end
endfunction

 

 

You should not put some instructions outside  the functions in a .sci file.

 

Best regards

 

Allan CORNET

 

 

De : xavier roguiez [mailto:xr at geo.hmg.inpg.fr] 
Envoyé : mardi 3 juin 2008 21:22
À : users at lists.scilab.org
Objet : [scilab-Users] Exception_access_violation

 

Hi,

I've generated some binary function in a folder with the following code :

mode(-1)
pathB=get_absolute_file_path('builder.sce')
if isdef('BA_imateriaux') predef(0);  clear BA_imateriaux; end
//génération des librairies
genlib('BA_materiaux',pathB+'macros\materiaux',%t);
clear pathB;


It works perfect with that code,

function [alphaeR]=alphae(fck)
if (fck <=Cmax) then
    alphaeR=Es/Ecm(fck)
else
    disp("fck > C90/100 (EC2-3.1.2(2)P");
end
endfunction
  


but i've modified it with that, in order to test better help

manedit('manedit')
function [alphaeR]=alphae(fck)
if (fck <=Cmax) then
    alphaeR=Es/Ecm(fck)
else
    disp("fck > C90/100 (EC2-3.1.2(2)P");
end
endfunction
manedit alphae

 
 
But now, the binary building stops on the following error message :


Warning !!!
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION).
Scilab may become unstable.

I've uninstalled Scilab 4.1.2 and delete temporary folder, delete binary and
then reinstalled but nothing change ? What can I do in order to have the
first state (of stability) ?

Thanks in advance for any help
Xavier Roguiez
  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20080604/905f32e4/attachment.htm>


More information about the users mailing list