Start met EmbeddedControl lib

This commit is contained in:
2026-03-11 11:57:48 +01:00
parent a23e051024
commit 71722127f1
6 changed files with 194 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
setCommandLineOptions("--simCodeTarget=ExperimentalEmbeddedC");
loadFile("/work/EmbeddedControl.mo");
okCheck := checkModel(EmbeddedControl.Math.DDifference);
print("checkModel(EmbeddedControl.Math.DDifference) = " + String(okCheck) + "\n");
print(getErrorString());
okTranslate := translateModel(EmbeddedControl.Math.DDifference, fileNamePrefix="difference");
print("translateModel(test2d.Dcontroller) = " + String(okTranslate) + "\n");
print(getErrorString());