Simulink does not support 'Array' format for logging multiport data. Change the logging format of the Scope to 'Dataset', 'Structure', or 'Structure with time'.

167 ビュー (過去 30 日間)
Simulink仿真的时候出现Simulink does not support 'Array' format for logging multiport data. Change the logging format of the Scope to 'Dataset', 'Structure', or 'Structure with time'.
  1 件のコメント
Charles Wayne
Charles Wayne 2022 年 8 月 8 日
譬如 moving average 这种滤波模块,是无法接受矩阵信号的 ,它只能处理单个信号。
检查一下有没有这种模块

サインインしてコメントする。

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 8 月 8 日
See document
web(fullfile(docroot, 'simulink/gui/format.html'))
  • To use Array format, all logged states and outputs must be:
  • All scalars or all vectors (or all matrices for states)
  • All real or all complex
  • The same data type
Use another format if the outputs and states in your model do not meet these conditions.

カテゴリ

Find more on Save Run-Time Data from Simulation in Help Center and File Exchange

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by