Ok! Got the error... must use entity.data.cpu, etc...
How do I use an Bus Entity parameter as resource acquire amount parameter?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mathias Santos de Brito
el 12 de Oct. de 2016
Comentada: Simone Rosa
el 15 de En. de 2020
The Resource Acquirer receives an Bus Entity, and I would like to get the values and use it as a Parameter to the Amount, as shown in the picture. but I get the Following error:
_ "You have configured the 'Project1/Node1/Resource Acquirer' block to require an incoming entity that has an attribute named 'entity.cpu'. However, entities that will arrive at this block will not have such an attribute."_
It is receiving the entity from a Queue. And I'm pretty sure that it is receiving the right object.
Any Ideias on what could be wrong?
Best Regards, Mathias
0 comentarios
Respuesta aceptada
Mathias Santos de Brito
el 17 de Oct. de 2016
1 comentario
Simone Rosa
el 15 de En. de 2020
I tried to do the same and I still got the error. =( any suggestion?
Más respuestas (1)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!