From: zac on
Hello,

sorry for my English but i hope you can understand me.
I want to you global matrix in Embedded Matlab Function in Simulink (i work with RTW/RTWT).
First i am declaring global matrix (global_matrix) and then change settings in my simulink model:
- global_matrix (input -> parameter)
- check: save to workspace

After that i can use the global matrix. But the problem is that the size of the matrix can only max 80x80. If i declare larger matrix the whole Matlab is closing automatically.

Is there any other way to work with global matrix in EMF with RTW/RTWT?

Regards,
sony.
From: Guoliang on
If Matlab closes like that, it is a bug and you can file it directly from the support website.


"zac " <sony_1000(a)o2.pl> wrote in message <hnqld7$3or$1(a)fred.mathworks.com>...
> Hello,
>
> sorry for my English but i hope you can understand me.
> I want to you global matrix in Embedded Matlab Function in Simulink (i work with RTW/RTWT).
> First i am declaring global matrix (global_matrix) and then change settings in my simulink model:
> - global_matrix (input -> parameter)
> - check: save to workspace
>
> After that i can use the global matrix. But the problem is that the size of the matrix can only max 80x80. If i declare larger matrix the whole Matlab is closing automatically.
>
> Is there any other way to work with global matrix in EMF with RTW/RTWT?
>
> Regards,
> sony.