I met a problem about using matlab coder toolbox. When I used the coder gui for mexing some matlab functions, I found I can not get the right solution since the input of function which I should mex is Variable-Size. For example, the test function is here:
function outsize = test(a)
outsize = size(a);
Can anyone give me a example code to tell me how to get the mex function(test_mex) of test function above? Then I can test the mex file by a = test_mex([1 2]) or a = test_mex([1 1; 2 2]) something like that.
I am really new to code generation.
Tags for this Thread
No tags are associated with this thread.
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.