matlab code to c code

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

3 Comments

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

Sign in to comment.

Answers (0)

Categories

Asked:

on 6 Apr 2019

Commented:

on 6 Apr 2019

Community Treasure Hunt

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

Start Hunting!