Well, to be honest with you, the Model-Based Design Toolbox 3.0.0 is two versions behind So we strongly suggest start using the 3.0.2 version. There are a lot of patches already integrated into the latest version.
By the way, this error appears during code generation? or when you simulate something?
Hope this helps,