Originally posted by: ranran_uw
John,
Thanks for your reply! I have a simulation run in Simulink enviroment, in the simulink model, i have a embedded Matlab function block where the cplex is called inside the block. It is not using Matlab .m file to call cplex. In order to run the embedded function in Simulink, it requires to generate C code first and cplex .p function called in simulink cannot generate C code .
The reason i use simulink is because i need to test a hardware-in-loop using the optimization method solved by cplex. My question is if cplex can be implemented in simulink. If not, is there any suggestions? i am using academic version cplex 12.3.
#CPLEXOptimizers#DecisionOptimization