Hi,
I have tried to write a custom function, first in python and later in oml. The desired output is a time-domain simulation of the surface wave elevation using the functions in the blocks. When testing the program in python, the code gives a constant giving a constant time t, which in the block is the time signal. Why is it not able to publish the result as a signal to for example a scope block?
I also attempted to do this with oml custom function block, but it also didn't succeed.
Error python: index 1 is out of bounds for axis 0 with size 1. Failed in updating the model at the initial point. Error oml: Unable to find the initial output values of blocks. Output of these blocks do not converge.
What does the error actually mean?
Attatched is the activate model.
Thanks in advance,
Linn