Error using slslicer in command line for model slicing
显示 更早的评论
Refering to the documentation on this page Programmatically Resolve Unexpected Behavior in a Model with Model Slicer - MATLAB & Simulink - MathWorks India
I am using slslicer to slice my model
For any model when I run
>> open('example.slx')
>> obj = slslicer('example');
>> activate(obj);
Error using SLSlicerAPI.SLSlicer/activate
'example' is incompatible with Model Slicer.
Caused by:
Reference to non-existent field 'initialize'.
I have tried this with different model even simplest inport - Gain - outport. But it gives the same error
I have Simulink Check installed and within license and MATLAB 2020a is installed
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Model Simplification with Dependency Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!