block_diagram does not have a parameter named 'MaskType'

I'm moving from MATLAB R2017a to R2018a. An error occurred when initializing a Simulink model on R2018a, which did not exist on R2017a.
Initialization commands cannot be evaluated.
Caused by:
block_diagram does not have a parameter named 'MaskType'
This happens for several blocks of the aerospace blockset like '3x3 Cross Product' and 'Create 3x3 Matrix'.

6 Comments

Can you share your model and explain what you try to do?
The whole model is rather complex. But I have just reproduced the error in its simplest form as attached. I guess the problem is with the subsystem block, but I can't figure it out exactly.
Export it to R2017b please.
Is there any warning pops up that you should use Upgrade Advisor to fix these kind of situations caused by release changes?
I think no. I tried to run Upgrade Advisor, but it did not give any useful suggestion.

Sign in to comment.

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Asked:

on 2 Apr 2018

Commented:

on 2 Apr 2018

Community Treasure Hunt

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

Start Hunting!