Sfunction generates display Error in simulink code: Errors occurred - aborting
Show older comments
The characteristics of this model is: there is a matlab S function, the prototype is a matlab routines, I deliberately in the Output function strengthen the function of matrix SVD function, look at the matrix analysis function can be compiled to the DSP development board to run online, but down on the board prompt Error: Errors occurred - aborting, should excuse me I how to solve? Attached: specific error information
### Starting build procedure for model: msfcn_svd_demo### Generating code and artifacts to 'Model specific' folder structure
Code Generation 1
Elapsed: 11 sec
### Generating code into build folder: C:\Users\zz\Desktop\msfcn_svd_demo_ert_rtw### Invoking Target Language Compiler on msfcn_svd_demo.rtw### Using System Target File: C:\Program Files\MATLAB\R2017b\rtw\c\ert\ert.tlc### Loading TLC function libraries### Initial pass through model to cache user defined codeError: File: msfcn_svd_test.tlc Line: 3 Column: 31The %implements directive specifies msfcn_times_two as the type where msfcn_svd_test was expectedMain program:==> [00] msfcn_svd_test.tlc:<NONE>(3) [01] C:\Program Files\MATLAB\R2017b\rtw\c\tlc\mw\commonpass.tlc:<NONE>(150).### Caching model source code### Writing header file msfcn_svd_demo_types.h### Writing header file msfcn_svd_demo.h### Writing header file rtwtypes.h### Writing source file msfcn_svd_demo.c### Writing header file msfcn_svd_demo_private.h.### Writing source file msfcn_svd_demo_data.c### Writing header file rtmodel.h### Writing source file ert_main.c### TLC code generation complete.

### Build procedure for model: 'msfcn_svd_demo' aborted due to an error.
Error: Errors occurred - aborting
Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!