How to export a column vector from a "MATLAB Function" block without seeing the “Cannot Save Outputs in the ‘Array’ Format” error?
이전 댓글 표시
I have a Simulink model which contains a "MATLAB Function" block. The "MATLAB Function" block code outputs a column vector of values.
However, when trying to output these values using an "Outport" block, I see the error message below:
Cannot save outputs in the 'Array' format because signals connected to the root outports of model 'MyModel' are not scalar or 1-D arrays. Set 'Configuration Parameters > Data Import/Export > Format' to 'Dataset', 'Structure' or 'Structure with time'.
How can I resolve this error to export a column vector from my "MATLAB Function" block?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

