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

9 years ago | 5

| accepted

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

9 years ago | 0

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

10 years ago | 0

| accepted

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

12 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted