Hi,

I am trying Scilab to expert a control system model as an FMU.

I have tried a simple gain block for tying out exporting to FMU but the file is nt getting generated. Errors in the terminal are as follows.

____________________________________________

operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.

operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.

Xcos error: Wrong type for field model.sim : String matrix expected.

operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.

operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.

Xcos error: Wrong type for field model.sim : String matrix expected.

Generating C:\Users\FORREST\AppData\Local\Temp\SCI_TMP_13912_24821/\ee.fmu

Generate calls to Scilab blocks

Generate scheduling

Generate FMU XML

Generate FMU API ME

operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.

operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.

operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.

FMU API has not been generated: Undefined operation for the given operands.

FMU API has not been generated: check or define function %c_a for overloading.

Generating failed.

ans =

F

____________________________________________________________________

Can anyone help out with this??

Or has anyone been able to generate an FMU succesfully in Scilab?

Scilab