Does the BB have any file I/O? Otherwise, it doesn't make sense at all to generate code for the block... The doc for the DSP block says:
This block supports code generation for the host computer that has
file I/O available. You cannot use this block with Real-Time Windows
Target™ software because that product does not support file I/O.
It also says that the "generated code for this block relies on prebuilt library files" and recommends using PackNGo to make sure all the dependencies are included in the generated code. If you haven't look at the documentation for the block yet, I strongly recommend that you do so.
Also, there is another block with the same name from the Computer Vision System Toolbox, which one are you referring to? Again, look at the doc, it has the same comments about requiring prebuilt library files.
I'm not sure whether the code generation will work with the BB target (note that the doc only mentions "host" computer as opposed to target), but the fact remains that the target does require file I/O otherwise it's a pointless exercise.