How to fix the compilation error "Two workspace variable refer to same simulink object"
11 views (last 30 days)
Show older comments
Invalid setting in 'PowerPointControlOutput/Power_Point_Ctrl_Output_FSM' for parameter 'IDX_VR_PP_RESET_CKT'
Caused by:
- Error evaluating properties of Simulink.Parameter object 'IDX_VR_PP_RESET_CKT' in workspace 'base' (used by block 'Power_and_Energy_lib/PowerPointControlOutput/Power_Point_Ctrl_Output_FSM')
- Model 'Power_and_Energy_Integrated_Modified' is using workspace variables 'IDX_VR_DELAYED_ACCESSORY_RELAY_CKT' and 'IDX_VR_PP_RESET_CKT' but these variables refer to the same object. Update the MATLAB code that created these objects to create separate objects. Use the copy method to copy Simulink data objects
0 Comments
Answers (1)
D Z
on 5 Oct 2021
I've met the same errors too. I just recreated the parameters one by one otherthan copy from one to one on the Model Explorer,and it solved.
When i created them by copy , if change storage class one of them, all of them will change too; but create them one by one will not.
Hoping this helps
0 Comments
See Also
Categories
Find more on Simulink Functions 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!