Using variable-size data with Unbuffer Block ?

25 Ansichten (letzte 30 Tage)
Edgar Zakarian
Edgar Zakarian am 1 Jan. 2015
Beantwortet: Edgar Zakarian am 2 Jan. 2015
Hi,
I need to send from a "MATLAB Block" a variable size matrix to an Unbuffer Block. The problem is that is seems that the Unbuffer doesn't accept variable-size signals, as I got this error :
MATLAB Function Interface Error: Simulink cannot propagate the variable-size mode from the output port 1 of 'example/MATLAB Function1' to the input port 1 of 'example/Unbuffer1'. This input port expects a fixed-size mode. The variable-size mode originates from 'example/MATLAB Function1/ SFunction '. Examine the configurations of 'example/Unbuffer1' for one of the following scenarios: 1) the block does not support variable-size signals; 2) the block supports variable-size signals but needs to be configured for them.
The scenario I have is number 1) I guess. What can I do to work around the issue ?
By the way, I use the Unbuffer to transform a matrix into rows (vectors) before being received one-by-one by an HDL cosimulation Block at speific clock rate (it works fine for fixed-size matrix).
Thanks,
regards.

Antworten (2)

Kiran Kintali
Kiran Kintali am 1 Jan. 2015
I forwarded your question to our HDLVerifier team. Thanks

Edgar Zakarian
Edgar Zakarian am 2 Jan. 2015
Hi, thanks Mr Kintali, It seems to me that it's more a Simulink issue, but it's okay to see HDLVerifier. In which section of the forum I would find answer then ?
Regards.

Kategorien

Mehr zu FPGA, ASIC, and SoC Development finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by