Signal dimensions inside a simulink function
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I am using a simulink function, with arguement outports to be used in an entity generator block. The arguement outports give the option for the port dimensions to be (inherited), scalar N or matrix [nxm]. However, when i insert the option of inherited, i get the error "The argument output block 'Name' must fully specify its dimension.
Does anyone have any idea about this?
Thank you
0 个评论
回答(1 个)
Paul
2022-10-29
Based on the error message, it sounds like you'e requried to specify the dimensions of that outport. Do you know what the dimension for the outport should be? If so, have you tried specifying it explicitly as the error message suggests?
3 个评论
Paul
2022-10-29
In the Property Inspector you can specify the Size of the outport with a workspace variable. The you'll need to update the value of the workspace variable to be consistent with the size of the input.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!