fpga-open-speech-tools / simulink_models

Simulink models for speech and audio processing
MIT License
4 stars 4 forks source link

mp.register cell array size #81

Open tvannoy opened 3 years ago

tvannoy commented 3 years ago

I noticed that mp.register seems to be an n-by-n cell array when we have n registers. For example, from the bitcrusher model:

>> mp.register

ans =

  3×3 cell array

    {1×1 struct}    {0×0 double}    {0×0 double}
    {1×1 struct}    {0×0 double}    {0×0 double}
    {1×1 struct}    {0×0 double}    {0×0 double}

As we see, most of the cells are empty. @fe-wickham Is this a design decision (e.g. to support multiple devices) or a bug?

tvannoy commented 3 years ago

Removed from Grant Wrap Up project because this doesn't affect functionality. I have tried adding it to the 1.0 release project, but the 1.0 release project won't show up for some reason.