Problem using MATLAB fcn block using simulink. Simulink and mex errors.
Show older comments
I need to couple matlab code in simulink by the matlab fcn block. Unfortunately, even running very easy code, purely + and * operations, it generates errors for mex and simulink coder. Try to follow many of the tutorials and help files (as this one for instance, http://www.mathworks.com/matlabcentral/answers/30156-errors-related-to-simulink-containing-embedded-matlab-function), but it did not work.
Please, help me solving the problem.
Thanks a lot

6 Comments
Rajiv Ghosh-Roy
on 28 Feb 2014
The error message is not visible in the screenshot. Could you post another one with the bottom pane of the front dialog scrolled to the bottom? Alternatively, you could call rtwbuild('call_stats_block2') which will then post the output to the bottom.
MICHELE
on 3 Mar 2014
A Jenkins
on 3 Mar 2014
It says you don't have a license for Simulink Coder. You can type "ver" at the command line to see what licenses you have installed.
MICHELE
on 3 Mar 2014
MICHELE
on 3 Mar 2014
A Jenkins
on 3 Mar 2014
If it is important for you to use Simulink Coder for your research, then you will need to contact your University to purchase you a license for it.
Answers (0)
Categories
Find more on Introduction to Installation and Licensing 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!