Respondida
How to use symbolic variables and functions (Syms) in a Simulink Matlab Function?
I think the only solution is to use the syms function inside a separate .m file and call that file as extrinsic. Create a ne...

casi 10 años hace | 5

| aceptada

Respondida
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...

casi 10 años hace | 0

Respondida
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)...

alrededor de 11 años hace | 0

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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?

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

| aceptada