Why does block rotation affect right-click subsystem builds in Real Time Workshop 6.1 (R14SP1)?

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
In Real Time Workshop 6.1 (R14SP1), the "Real-Time Workshop > Build Subsystem" right-click context menu option contains a bug.
A possible workaround is to use the "Format -> Rotate Block" (Ctrl+R) option to rotate the subsystem block before initiating the subsystem build.

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!