Define input types to 1x:inf in test script.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I'm a fairly new user to matlab, and chances are i might be approaching this wrong. In that case please corret me.
My case is i want to create a C lib for my matlab code using Coder. But i'm growing more and more anoyed with having to redo all definitions of input variables every time i add a new entry point, this task is getting more and more cumbersom as the project grows.
My wish is to be able to define the input in my test script using something like.
inputA = [100 10000];
coder.varsize('inputA ',[1,inf],[false,true]);
EntryPoingMethod(inputA);
When i use the Coder Gui, i run my test function and the inputA is set to double ( 1x2 ) and not 1x:inf as im looking for. I then manually have to correct each and every variable in every entrypoint afterwards.
Is there a way out of this, or am i just doing it wrong in the first place.
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Testing Frameworks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!