Simulink User Defined Matlab Function Block output "String" to display box
Show older comments
I have a simple User Defined Matlab Function block with inputs and outputs that runs some math operations. I want to output "Pass" or "Fail" string from my Matlab Function block (depending on my calculations within the block) then connect this output to a display box and have it display "Pass" or "Fail". How is this accomplished? I am new to simulink and can't figure this out. I presume it is pretty straightforward.
How do I perform the below. How do I define the parameters within the matlab function block.
Matlab Function Block -> Output "pass" or "fail" string -> Display Box
Thank you. I appreciate anyone that can help me out.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!