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

128 次查看(过去 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 个)

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.

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by