How to fix the compilation error "Two workspace variable refer to same simulink object"
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
D Z
el 5 de Oct. de 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 comentarios
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!