"Kyle Andringa" <
kand...@go-asi.com> wrote in message <k83htp$qre$
1...@newscl01ah.mathworks.com>...
> The error message was not very helpful, but I did ultimately find the issue. There was an embedded Matlab block containing a "Parameter" in the Ports and Data Manager. This parameter was specified as tunable, and the value being assigned was a structure. For one reason or another, this is not allowed with rapid accelerator.
>
> The solution to the problem is to declare it as an input, and then pass in a signal from a constant block. Within the constant block, you can assign the structure.
Hi,
This does not work because I get the following error:
The data type specified for the block 'xxxxxxxxxxxxx' is 'Inherit: Inherit from 'Constant value'' and the value specified for the parameter 'Value' of the block is a MATLAB structure. MATLAB structures are supported only when bus types are explicitly specified. Set the data type explicitly to a matching bus object or specify an expression which resolves to a bus object.
How did you solve the problem?
By creating a bus for example?