How to retreive input word length at initialization

1 view (last 30 days)
I'd like to write block mask initialization code based on the word length of a given input. I can get port handle using ph=get_param(gcb,'PortHandles'); in1h=ph.Inport(1); However, get_param(in1h,'CompiledPortDataType') returns empty string.

Answers (0)

Categories

Find more on Author Block Masks 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!