Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

CombiTable1Ds - unmatched dimensions

CombiTable1Ds - unmatched dimensions

Hello everyone,

I'm trying to use a CombiTable1Ds with only two columns (input, output) but I can not figure out how, even in a minimal example.
I either get "Unmatched dimension in equation connect(combitable1ds2.y, gain1.u)" (even when using a newly created table with default settings)
or, when messing around with the table's "columns"-option, I get "Type mismatch in modifier of component combitable1ds2columns, declared type Integer[:], got modifier 2 of type Integer"

Even when I try to copy the example given in the documentation by using "combitable1ds2(table = [0,0;1,0.5;2,1], columns = {2}..)" it does not work.

What is the correct way to do this?

In case it matters, I'm using 1.8.0 rev10585

Thanks in advance,
cpr

Edited by: cpr - Mar-09-12 13:18:13

Re: CombiTable1Ds - unmatched dimensions

I too am experiencing something similar.
Anyone have any Idea about this ?

Thanks
Pratyush

There are 0 guests and 0 other users also viewing this topic
You are here: