MATLAB: Model Advisor “Check Merge block usage” appears buggy

simulink

Why does the Model Advisor Check in R2013b for 'Check Merge block usage' give a warning 'Cannot complete Merge analysis'? 

Best Answer

When the Model Advisor check in R2013b for 'Check Merge block usage' was run, the following warning appeared: 
Cannot complete Merge analysis:
Attempt to reference field of non-structure array.
This happens due to its dependency on Fixed Point toolbox. The warning does not appear when the toolbox is disabled. If the toolbox is enabled, the following reproduction steps will show how disabling it will produce the warning as output: 
1. open sl_subsys_if1 demo model in R2013b
2. Disable fixed_point_toolbox license with the following commands:
>> license('test','fixed_point_toolbox','disable')
>> license('checkout','fixed_point_toolbox','disable')
3. Open Model Advisor via toolbar or with command below
>> modeladvisor('sl_subsys_if1')
4. Run the "Check Merge block usage" check
Currently, there are no workarounds. The development team has been notified of this and may consider fixing the issue for a future release.