Define Pointer in Bus (structure)
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
How to implement the below structure in simulink
typedef struct{
int a;
int *b;
int *c;
}
0 件のコメント
回答 (1 件)
Benjamin Thompson
2024 年 1 月 21 日
Simulink busses cannot use pointers or references. Can you use an array of integers?
int b[10];
Simulink must know the size of the bus in memory so that a signal of this bus type can be connected betwee blocks.
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!