creating multiwindow apps in app designer 2020a
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ma sd
am 14 Jul. 2020
Kommentiert: Adam Danz
am 14 Jul. 2020
hi,
I have been trying to create a multi window app just like the example in the documentation but its not working.
I think the problem is that i am not able to get my secondary app start function to be startFnc(app, mainapp, x, y) like the example. what I keep getting is startFnc(app, event)
and the error is too many parameters when I click th button to open secondary window
the code line at the error is app.dialogApp=newwindowname(app,x,y)
any advice?
5 Kommentare
Adam Danz
am 14 Jul. 2020
That's not the entire error message. There's a lot of info in a typical error message and that info is usually helpful.
The error message will likely point to a line of code. We also need to see that line of code.
Akzeptierte Antwort
Adam Danz
am 14 Jul. 2020
The starup function in app 2 will have its own 1st input "app". You shouldn't pass that into the app.
Try this.
app.DialogApp = New_window_name(app.x, app.y);
If that doesn't solve the prblem, please provide,
- The new full error message if one exists (copy-pasted or screen shot)
- The Startup function in app 2.
6 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!