Filter löschen
Filter löschen

Error using slslicer in command line for model slicing

1 Ansicht (letzte 30 Tage)
Akshay
Akshay am 30 Jan. 2024
Kommentiert: Akshay am 15 Feb. 2024
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

Akzeptierte Antwort

Balavignesh
Balavignesh am 11 Feb. 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:
Hope that helps!
Balavignesh
  1 Kommentar
Akshay
Akshay am 15 Feb. 2024
Thanks Balavignesh. On an additional note , my app was also not working. Clean Re-installation solved the issue

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Model Simplification with Dependency Analysis finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by