- can you share the MATLAB code and the errors?
- Are you using MATLAB Coder? (are you going throught the step by step tutorial?)
- which release are you using?
- MATLAB coder extends its capabilities every release (more and more functions just work)
- the tutorial is a good way to get started, *typically people start with simple functions and multiply 2 matrixes and get the workflow then add complexity from MATLAB code
- There are certain MATLAB functions that are not supported an you need to investigate how to get around them (e.g. try catch are not supported, but if you remove them then it can work under certain cases