MATLAB Answers


Exception of code generation in matlab coder with "bsxfun" and "exp"

Asked by Anton Mikhail on 16 Sep 2015
Latest activity Answered by Jeevan Thomas on 17 Sep 2015
I have some troubles wih code generation in matlab coder. I have done neural network by neural network tool and I should import this results to my project on C++. In my try to generate code I have some warnings/exceptions (issues):" "bsxfun" is not supported for code generation", the same for function "exp". But "bsxfun" and "exp" are included in list supported for code genearation functions in documentation. Help me please to solve this problem!

  1 Comment

Which MATLAB version are you using?

Sign in to comment.

1 Answer

Answer by Jeevan Thomas on 17 Sep 2015

There are some restrictions in using this function for code generation. Please refer to the below links and see if your implementation follows the constraints.


Sign in to comment.