MATLAB: How to verify the C++ code I have generated from MATLAB Coder against standards

62304coderiecMATLABmatlab coderstandards

How can I verify MATLAB Coder generated C++ code against standards such as IEC 62304?

Best Answer

MATLAB Coder does not verify or validate the code against any standards when it is generated, to achieve this you need to run PolySpace on the generated C++ code from MATLAB Coder. The documentation page linked below provides more information on this:
In addition, the following documentation page describes the IEC Certification Kit which allows you to verify the certification against a set of standards, the IEC 62304 standard is explicitly mentioned on this page: