Build error in Simulink
8 views (last 30 days)
Show older comments
I have just a S-Function Builder in my model which compiles successfully, but when i try to build the whole model i get the error
Changing property 'MakeCommand' is not allowed
The only "solution" is to make a new blank model and copy the S-Function Builder Block to the new model. This works for some time until it starts to throw the above error.
I would be very grateful for any help.
2 Comments
akshatsood
on 5 Mar 2024
Could you please share your model so that I can reproduce the issue on my end.
Thanks
Answers (1)
Satwik
on 28 Mar 2024
To resolve the issue you are encountering, you might find this MATLAB answer helpful, which outlines steps to address a very similar issue : https://www.mathworks.com/matlabcentral/answers/841420-i-get-the-error-changing-property-unconnectedlinemsg-is-not-allowed-when-using-a-block-from-the
Should this not resolve your issue, please feel free to share your source and header files along with the model, so that I can try to reproduce the issue on my end.
See Also
Categories
Find more on Simulink Coder 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!