Specify one dimension as variable size in Matlab Coder
Mostrar comentarios más antiguos
Hi!
I wish to graphically (in the matlab coder window) specify one dimension of an input as variable size and one dimension as fixed size. How do I achieve this?
Respuesta aceptada
Más respuestas (1)
UJJWAL
el 6 de Mzo. de 2012
0 votos
Hi,
Although i did not understand your question very well but this is i think is your question :-
If you want to create a variable 'a' of dimension x by 23 and you want x to be given by a user , then you can do that by coding very easily, Just input x , and create a as follows for example -
a = zeros(x,23);
As far as doing it graphically is concerned, which i think is ur question, then well design a GUI and from there take the input x. After that you can write the corresponding code as the same.
Hope it helps
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!