Simulink Model Block Replacement Failed
3 次查看(过去 30 天)
显示 更早的评论
Hello all,
I have a simulink model which I am applying Simulink Design Verifier to. I am running into an error regarding a step-enabled subsystem that is taking values in from a function block and inputting them into a DataStoreWrite Block. The parent subsystem and its contents are below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146053/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146054/image.png)
The function block loads a list of parameters to the DataStoreWrite block. When I run a compatibility check on the subsystem or the model reference containing the subsystem with block replacement enabled, I receive the following error messages (To clarify the custom block replacement rules do not apply to blocks in this subsystem, but other blocks in the model reference in which the subsystem is located):
1- Simulink Design Verifier failed to initialize: Block Replacement failed
2- Error using sf
Error using construct_error (line 110)
Failed to create file: C:
3- Failed to compile 'ModelName'
The configuration works fine when simulating the model. Does anyone know or have any ideas as to why Block replacement would be failing in this situation? It shouldn't even be applied to this subsystem because there are no replacement rules for these blocks. What does the second error message mean?
Thanks,
Collin
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!