Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
how can I introduce a string variable in an exported java model?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Who it may correspond,
I have exported my model as a java library and one of my matlab inputs is the path, where the files should be find. Which kind of input java variable should I define to make it work?
If my variable was a number I will do this:
MWNumericArray FM_DC = null;
FM_DC = new MWNumericArray(1.4,MWClassID.DOUBLE);
result = modeloMatlab.myModel(1, FM_DC);
I'm trying to fill the blanks here:
_______1_______ path = '';
MWNumericArray FM_DC = null;
path = new _______1_______('C:\MyFiles',MWClassID.____2____)
FM_DC = new MWNumericArray(1.4,MWClassID.DOUBLE);
result = modeloMatlab.myModel(1, path, FM_DC);
Thanks in advance
0 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!