matlab code to c code

user(1).bid = [3,5,7];
how we write c code of this matlab code??

3 个评论

Simply use MATLAB Coder.
no free tial of matlab coder
struct b_st {
double bid[3];
} user = {3, 5, 7};

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by