Start met EmbeddedControl lib
This commit is contained in:
11
exporttest/export_controller.mos
Normal file
11
exporttest/export_controller.mos
Normal 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());
|
||||
Reference in New Issue
Block a user