Error using slslicer in command line for model slicing
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Akshay
el 30 de En. de 2024
Comentada: Akshay
el 15 de Feb. de 2024
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 comentarios
Respuesta aceptada
Balavignesh
el 11 de Feb. de 2024
Hi Akshay,
It seems that you are facing an issue trying to use Model Slicer for a simulink model in command line. However, you could try opening the Model Slicer directly in 'Simulink'. It should be on the 'Apps' tab, under 'Model Verification,Validation and Test' gallery, and carry out the things you intend to implement.
Have a look at the following documentation link regarding Model Slicer:
Model Slicer: https://www.mathworks.com/help/slcheck/ug/create-a-simplified-standalone-model-using-the-model-slicer-tool.html
Hope that helps!
Balavignesh
Más respuestas (0)
Ver también
Categorías
Más información sobre Model Simplification with Dependency Analysis 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!