I have a model named ‘asbHybridAircraft4_7’, and I want to run it with the parameter 'payloadMass' configured with the sim fuction.
I used the following code
but an error occured
block_diagram does not have a parameter named 'payloadMass'
I'm very confused. Because the model dose have a parameter named 'payloadMass'.
Maybe it's not a parameter and just a variable. So I also tried
But the error occured again.
Could anyone tell me how to solve the error?
Thanks in advance.