Create a matrix in Simulink
440 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Linee Teh
am 28 Apr. 2020
Kommentiert: Ameer Hamza
am 2 Mai 2020
The diagram below is the block diagram that I have created in order to generate the matrix B.
I want the matrix B to be in the size of [9x6] but what I have done in the simulink give me a warning message as: 'Magnetic/B' generated a [9x6] matrix data. It automatically reshaped the data to a one dimensional vector with 54 elements.
My question is: How to make the matrix B stay in the size of [9x6]?
I have attached the simulink model in the file as well. I am really appreciate your help.
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 28 Apr. 2020
Bearbeitet: Ameer Hamza
am 30 Apr. 2020
Because in the function Interpreted MATLAB function block B, you have set the output dimension to 54. Change it to [9 6].
6 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!