The following error message appears in the build log when I use the "Real-Time Workshop > Build Subsystem" right-click context menu option to build a subsystem in my model:
### Starting Real-Time Workshop build procedure for model: RotateIWork ### Generating code into build directory: D:\Temp\NG\RotateIWork_ert_rtw Warning: Output port 1 of 'RotateIWork/' is not connected. Warning: Output port 1 of 'RotateIWork' is not connected. Error using ==> slbuild Error using ==> RTW.makertw.make_rtw Error using ==> tlc_c Error using ==> rtwgen --> Invalid setting for output port dimensions of 'RotateIWork/adadac'. The dimensions are being set to 24. This is not valid because the total number of input and output elements are not the same. --> Error in port widths or dimensions. Input port 1 of 'RotateIWork/RotateIWork' is a one dimensional vector with 24 elements.
If I use "Format > Rotate Block" to rotate the subsystem block, the build completes successfully.
Best Answer