Can display block show more than a 10x20 matrix?
4 ビュー (過去 30 日間)
古いコメントを表示
I have a 6x25 matrix in my Simulink model. To debug my system, I'm trying to display the whole matrix in order to see its behavior. Unfortunately, the display just shows the 10 first columns...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343513/image.png)
As I read in the documentation, the default configuration is limited up to 10x20. Is it possible to display more than that? If not, How should I see the entire matrix?
thank you.
PS: I'm using R2020a
0 件のコメント
回答 (1 件)
Sulaymon Eshkabilov
2020 年 8 月 9 日
編集済み: Sulaymon Eshkabilov
2020 年 8 月 9 日
Hi,
There is an easy solution for your exercise that is to use "To Workspace" block instead of "Display" block. Then you will be able to see all of your simulation results in MATLAB. Note that you need to change "Save format" option of the block to "Array" or "Structure" type as shown in the attached screenshot. You may also change the name of the block "To Workspace", e.g. MYOUT or something else.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!