[Scilab-users] Model Name from within interfacing function
Klingenstein, Florian
Florian.Klingenstein at gigatronik.com
Fri Mar 27 16:54:42 CET 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20150327/7d038110/attachment.htm>
More information about the users
mailing list