Hello everyone,

I am using this mailing list for the first time and I don't know if I do it 
right but I have a question concerning Xcos:
Is it possible to access the model name of a Xcos model within the interfacing 
function of a block?
For example I want to use the following code:

function [x, y, typ]=MYOWNBLOCK(job, arg1, arg2)

    select job
    case "set" then
        x=arg1
        model=arg1.model;
        graphics=arg1.graphics;

        model_name = functionToGetModelName();

       ...


      end


endfunction


Regards
Flo

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to