Sparse matrices passing from Matlab to Simulink

1 回表示 (過去 30 日間)
Roger Germann
Roger Germann 2020 年 5 月 9 日
回答済み: Samatha Aleti 2020 年 6 月 16 日
Dear Community
I am currently working on writing a wrapping from Matlab to Simulink. In Matlab (2020a) we create sparse matrices and we would like to use them in Simulink. Despite extensive research I haven't found a way to pass them into Simulink without converting them into full matrices (which then leads to a memory overflow for the real use case). I looked also into statements that passing sparse matrices is not possible but haven't found anything meaningful.
I feel that there should be a way since Matlab and Simulink themself can both work with sparse matrices. Any hint pointing out if and how it is possible or why it isn't possible is highly appreciated.
Thank you in advance for your help
Best regards

回答 (1 件)

Samatha Aleti
Samatha Aleti 2020 年 6 月 16 日
Hi,
There is a similar MATLAB Answer here, that might be of help to you

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by