验证 -凯发k8网页登录
将模型与生成的代码的仿真结果进行比较
通过日志记录以及通过将模型仿真与生成的代码的执行结果进行比较,验证生成的代码所计算出的答案是否正确。
主题
log data to a mat-file during execution of generated code.
this example shows how to verify the answers computed by code generated from the
slexaircraftexample
model.determine whether model and generated code simulation results are numerically consistent. investigate discrepancies.