Hi sorry. Before I was wrong to send the message.
Problem is quite simple. I want to understand if I can use simulink blocks generated with command CodeGenerator, for MY OWN Simulink models.
I wrote this code:
cg = CodeGenerator(robot);
cg.everything();
and finally in the current folder, it appears a folder called ROBOT. Now in this folder there is a file simulink called ROBOTslib.slx, where there are many simulink blocks which allow me to calculate forward kinematics, Jacobian and so on. (See picture 1)
Now I decided to copy and past one of these simulink blocks in a my simulink file, for example fkine, because I want to calculate forward kinematic in Simulink (see picture 2). But when i run this file, it gives me the followiing error (see picture 3)
I hope I have explained this problem well