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

129 vues (au cours des 30 derniers jours)
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 commentaire
Charles Wayne
Charles Wayne le 8 Août 2022
譬如 moving average 这种滤波模块,是无法接受矩阵信号的 ,它只能处理单个信号。
检查一下有没有这种模块

Connectez-vous pour commenter.

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 8 Août 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.

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by