Maximum ports of Simulink block

3 views (last 30 days)
Lukas
Lukas on 23 Jan 2017
Answered: Walter Roberson on 23 Jan 2017
I would like to find information about the maximum number of Simulink block inports.
Currently, I am create a S-function block which has "Number of inports" parameter. I think the maximum value of the parameter should be equivalent to Simulink built-in block's.
Thank for your read and support if you have any information/references/etc.

Answers (1)

Walter Roberson
Walter Roberson on 23 Jan 2017
It looks to me as if the maximum number of Inport would be limited by memory. You are permitted to import from the workspace, and workspaces are limited by memory in the number of variables you can have.
If you need a particular value, then use the limit of 2^48-1 which is 281474976710655 . It is not possible for any current x64 chip to address more than 48 bits of memory.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!