From: rajasekar on
Hi nox,

No the Variable "Vi" not exist in the workspace...

regards
rajasekar

nox wrote:
>
>
> you have a "To workspace" block outputing Vi (with a big V) if
> you're
> model is exactly the same as the model in the pdf file...
>
> So you must have a variable Vi in your workspace !
>
> if you display it, what's its value ?
From: Rajasekar on
Hi Nox,

I found that,the problem lies with the connection between
MUX block and State Space Block.

and also the problem is with the properties of state space block.

becoz when i replace the state-space block with scope, it's
working fine....

Regards
rajasekar

nox wrote:
>
>
> Did you put a "To workspace" block between the Mux and the
> state-space block, like in the pdf ?
>
> if yes did you change the name of the output value by double
> clicking
> on the "To Workspace" block and set "Vi" in "Variable Name" ?
From: Rajasekar on
Hi Nox,

After the first block
(1,1,1) at each line from first block ,

after the mux block the value is "3"

and ?(1) before and after the state space block...
there lies a problem...

regards
rajasekar.r

nox wrote:
>
>
> can you do just this :
>
> again : Format, then Port/Signal Displays, put the Signal dimension
> to on (if it is already, put it to off and then to on again...)
> and tell me the numbers you see :
>
> 1) after the first block (the 3 outputs of the generator)
> 2) after the MUX
> 3) before and after the state-space block
>
> I think after the MUX you should have a (?)1, and that's already an
> error.
> And that's why your model doesn't work.
From: rajasekar on
Hi Nox,

I am getting errors,when i connected Mux block (with 3 vector input
to
one vector output)to a state-space block
i am getting the following errors like....

1.Invalid dimensions encountered while propagating dimensions from
output port 1 of 'pwmchk/Mux' to input port 1 of
'pwmchk/State-Space'. During propagation, we are attempting to unify
the dimensions of the multiplexed signal with dimensions {1,1,1} to
obtain the dimensions [-1].......

please suggest some possible issue's to overcome this problem.

Thanks And regards
rajasekar.r

nox wrote:
>
>
> can you do just this :
>
> again : Format, then Port/Signal Displays, put the Signal dimension
> to on (if it is already, put it to off and then to on again...)
> and tell me the numbers you see :
>
> 1) after the first block (the 3 outputs of the generator)
> 2) after the MUX
> 3) before and after the state-space block
>
> I think after the MUX you should have a (?)1, and that's already an
> error.
> And that's why your model doesn't work.
From: rajasekar on
Hi Nox,

I cleared all the blocks and placed only scope block
after the mux block.then it's working fine.

when i connected the state-space block i am getting errors....so the
problem lies with the
stata-space block parameters and properties only...

regards
rajasekar

nox wrote:
>
>
> rajasekar wrote:
>>
>>
>> Hi Nox,
>>
>> I am getting errors,when i connected Mux block (with 3 vector
> input
>> to
>> one vector output)to a state-space block
>> i am getting the following errors like....
>>
>> 1.Invalid dimensions encountered while propagating dimensions
> from
>> output port 1 of 'pwmchk/Mux' to input port 1 of
>> 'pwmchk/State-Space'. During propagation, we are attempting to
>> unify
>> the dimensions of the multiplexed signal with dimensions
{1,1,1}
> to
>> obtain the dimensions [-1].......
>>
>> please suggest some possible issue's to overcome this problem.
>>
>> Thanks And regards
>> rajasekar.r
>
> The problem is always the same : in the configuration of the
> state-space block, you told me that your C matrix was eye(9), so
> this
> block expects a 9-dimensional vector as input I think...you only
> input a 3-dimensional one !
>
> if your MUX takes 3 3-dimensional vectors as input (instead of 3
> 1-dimensional vectors as you have now), it will outputs a
> 9-dimensional vector, and it will work
First  |  Prev  | 
Pages: 1 2
Prev: inputdlg box
Next: Network size (using newff)