Jump to content
OMRON Forums

C code generation using MAtlab for user code in Power Pmac


Recommended Posts

We are currently working on modification of control systems for a position control application. We have designed a user code for PPMAC IDE using Matlab simulation. The controller implemented currently is MODEL PREDICTIVE CONTROLLER (MPC).

The problem faced is when the C Code is generated using transfer function and rest simulation blocks; then all required headers files are generated. However, when it comes to generation of files using Power Pmac all headers files do not generated(type.h and private.h files are missing ) due to which compilation shows error .


On the other hand when embedded coder is used for C Code generation there is an error of sampling time.

Anyone who could kindly guide regarding code generation for MPC using Matlab Simulink is requested to reply as soon as possible

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This topic is now closed to further replies.

  • Create New...