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

115 views (last 30 days)
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 Comment
Charles Wayne
Charles Wayne on 8 Aug 2022
譬如 moving average 这种滤波模块,是无法接受矩阵信号的 ,它只能处理单个信号。
检查一下有没有这种模块

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 8 Aug 2022
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.

Community Treasure Hunt

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

Start Hunting!

Translated by