Table of Contents
qc_check_model
Check for Simulink blocks with problems and recommend QUARC replacements.
[blocks, message] = qc_check_model(model) % Check for replacements in the specified model. Return info. qc_check_model(model) % Check for replacements in the specified model. Issue warnings. qc_check_model % Check for replacements in the current model. Issue warnings.
Checks for Simulink blocks provided by the MathWorks that have problems and recommends QUARC replacements. If any such blocks are detected then they are highlighted and a warning message is issued. If the outputs are assigned then no warning is issued and instead an array of block handles and the warning message are returned. Use hilite_system to hilight the offending blocks or get_param(blocks, 'Name') to get the names of the blocks.
model
A string indicating the name of the model or a model handle. For example, 'q_a_lpbk'
.
blocks
An array of block handles identifying the problematic blocks.
message
A string containing a message indicating the problem.
qc_check_model('mymodel'); % Check 'mymodel' diagram for problem blocks
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-04-16. Submit feedback to Quanser about this page.
Link to this page.