Réponse apportée
About CVXGEN: how to call a custom C-mex from an MATLAB Function block in simulink?
It looks to me that the problem you are hitting is that cell arrays are not supported inside MATLAB Function Block. I see two wo...

environ 10 ans il y a | 0

Réponse apportée
embbed function simulink with signal
I was able to make your example work in Simulink after adding the following line before call to "linspace": assert(N<10000)...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Trouble with variable-input sizes in Embedded Matlab
To fix this problem, go to Ports and Data Manager (menu Tools / Edit Data Ports), click on the line for "Pairs", check the check...

plus de 13 ans il y a | 0

Réponse apportée
Multi-dimensional arrays indexing for an embedded matlab function in simulink
Hi David-Linus, As Fangjun said, these look like two different issues. Can you show me your model so I can see the problem?

plus de 13 ans il y a | 0

Réponse apportée
Multi-dimensional arrays indexing for an embedded matlab function in simulink
Please try replacing > images = zeros(x,y); with > images = zeros(x,y,count); Embedded MATLAB function block does no...

plus de 13 ans il y a | 0

| A accepté