Using hdlworkflow script results in warnings

1 view (last 30 days)
We generate an IP Core for our Simulink model using HDL Workflow Advisor. We Recently upgraded from Matlab 2013 to 2016b and see that you can now easily re-run the hdl workflow advisor process using the 'export to script' feature. The script sets the hdl related parameters of the subsystems such as delay balancing and pipelining using 'hdlset_param'. When I run the script I get " Warning: Overriding parameters of '...' which is inside a library link. These changes can be changed, propagated, or viewed using the 'Library Link' menu item." (Where '...' is the name of our linked subsystem) It seems that the warnings are just notifications that we are modifying a library block and can be ignored, but is there any way to have them go away, or ignored? This is part of an automated build process and I'd like to minimize the number of warnings. We do not get these warnings if we run through the HDL workflow advisor process manually.

Answers (1)

Sudarshan Kolar
Sudarshan Kolar on 8 May 2017
Hello Michael,
I understand that you want to suppress the warning.
Suppress all warning:
>> warning('off','all');
Suppress specific warning:
[msgStr,msgId] = lastwarn;
warnStruct = warning('off',msgId);
You can read more about this here:
https://www.mathworks.com/help/matlab/ref/warning.html
Sudarshan

Community Treasure Hunt

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

Start Hunting!