How can I define MATLAB function local variable type qualifiers / memory section in generated code?

4 views (last 30 days)
I am generating C code with Embedded Coder from a MATLAB function block. Because of memory constraints of my target, I need the local variables to be in the 'far' memory section, i.e. the definition of local variables in the generated code should look something like:
void fcn(...)
far double x[9];
Is there any way to accomplish this?
Best regards,
Christian

Answers (0)

Community Treasure Hunt

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

Start Hunting!