Simulink Mux block does not accept integer value for "number of inputs"
2 views (last 30 days)
Show older comments
Thomas Becker
on 6 Aug 2015
Commented: Walter Roberson
on 12 Aug 2015
Hello,
I would like to know, why the Mux block's parameter "Number of inputs" does only accept values of type double, whereas single or uint8 result in an error. Examples:
* 5 - ok
* double(5) - ok
* single(5) - error
* uint8(5) - error
Is there any explanation for that behaviour or is it just a bug?
Thanks in advance! Thomas
0 Comments
Accepted Answer
Varun Bhaskar
on 11 Aug 2015
Hello Thomas,
Can you describe why you are trying to perform single(5), double(5) and uint(5)? We are interested in knowing about the workflow.
2 Comments
Walter Roberson
on 12 Aug 2015
from_workspace and pass it through a type conversion block, possibly?
More Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!