MATLAB Answers

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

7 views (last 30 days)
Anton Mikhail
Anton Mikhail on 16 Sep 2015
Answered: 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!

Answers (1)

Jeevan Thomas
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.

Community Treasure Hunt

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

Start Hunting!

Translated by