User defined function crashes Matlab

I have encountered serious problems when running simulink models containing user defined function blocks, it crashes Matlab completely and will not re-boot. I have to uninstall and re-install to Matlab each time it crashes. I have similar problem when setting-up Real-time Windows target toolbox. Any suggestions?

1 Comment

That sounds inordinately severe. Is there a stack trace with the crash? Also, are the user-defined blocks part of some third-party library or did you create them? What types of blocks are they exactly (S-functions, Interpreted MATLAB Function, MATLAB Function block, etc.)

Sign in to comment.

Answers (0)

Asked:

on 6 Dec 2011

Community Treasure Hunt

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

Start Hunting!