Professional Interests: C code generation, embedded systems, signal processing, image processing
Top 10% contributor
Use MATLAB Coder to generate C code and integrate it into an iPhone/app using Apple’s XCode IDE
19 days ago
If you have older versions of MATLAB prior to R2011a, you can look at Real-Time Workshop Embedded Coder to generate C code from ...
Answered 3 months ago
Sorry about you not having heard from our sales team in over 2 weeks! I've contacted the account representative abou...
Answered 9 months ago
Hi Chris, This reply is several month old, but I just came across your question. Posting an answer for others who may stumble u...
1 year ago
Learn about automatic code generation for embedded systems requiring production code efficiency a...
6 years ago
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
11 months ago
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Which version of MATLAB/Simulink do you have?
You may need to create a (virtual) subsystem around your enable...
Answered 7 months ago
That's correct, essentially, convert your cell arrays into structs and you'll be all set. So I'd use:
mystrings(1).name = '...
Answered 2 years ago
If you are going to run the application in MATLAB, you can consider creating MEX files for your application, and then deploy the...
PLC Coder generates structured text that is wrapped in an AOI (Addon Instruction) or a routine, which is then imported into RSLo...
In order to do that, you'd have to C code into Structured Text, and unfortunately it's not currently possible. C code...
As Walter mentioned, MATLAB Coder may be an option for you to pass along your MATLAB code as C code. You can find the list of su...
I'm able to generate structured text from a Simulink model with a MATLAB Function block that uses inv(a). I'm usi...
Join the conversation