Using hdlworkflow script results in warnings
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Sudarshan Kolar
2017-5-8
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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!