Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Commit c959868

Browse files
committed
Check only for MATLAB version > R2012b in FMIKit.initialize()
1 parent 15ea32c commit c959868

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

+FMIKit/initialize.m

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,8 @@ function initialize()
8888
rel_year = rel_year + 0.1;
8989
end
9090

91-
if rel_year < 2012.1 || rel_year > 2019.0
92-
warning('FMU import is only supported on MATLAB R2012b - R2019a')
93-
end
94-
95-
if rel_year < 2012.1 || rel_year > 2018.1
96-
warning('FMU export is only supported on MATLAB R2012b - R2018b')
91+
if rel_year < 2012.1
92+
warning('MATLAB releases prior to R2012b are not supported')
9793
end
9894
end
9995

0 commit comments

Comments
 (0)