Sample time mismatch between IF block and Action Port in Action Subsystem.
Ältere Kommentare anzeigen
Hello everyone,
I wanted to encrypt the subsystems of a model, to do that I added the unit delay(to break algebric loop) and tried to convert to model reference. But am receiving this error - 'Sample time [0, 1] of '.../If Action Subsystem/Action Port' does not match the discrete sample time of the If block '.../If' controlling its execution.' I am getting this error after adding the unit delay block, the IF block is present in one of the subsystems. Is there any other way to encrypt or is there any way I can solve this sample time issue.
Please explain in simple terms as I am relatively new to simulink.
Thanks in advance,
DV

4 Kommentare
Malay Agarwal
am 24 Sep. 2024
Could you share the model so that I can take a closer look at the model configuration?
Malay Agarwal
am 25 Sep. 2024
Bearbeitet: Malay Agarwal
am 25 Sep. 2024
The model seems to be missing some files and variables requires to run it. Could you add those files, variables?
Francisco J. Triveno Vargas
am 9 Okt. 2024
HI,
Initially, try to change to fixed step and select one Sample Time.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Subsystems finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!