Remove need for "nargout=0" in function calls
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- api, developer-experience
Direzione di ricerca
The issue names no files, tests, or entry points. Start by locating where the Python MATLAB engine handles nargout=0 and determine whether omitted outputs can return None without breaking script or function calls. Done means automatic handling, or a more helpful error message if that is not possible.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A big quality-of-life improvement in the matlab engine would be to automatically handle, somehow, the need to add "nargout=0" for every script command or function without a return value. The engine should be able to detect no outputs and simply return a None to Python, which will be ignored if the user doesn't set the output to a variable.
If somehow, this is not possible, at least please update the error message that is generated, it is not helpful at all. This is a major problem for new users just trying to get the basics working. Now that I'm past it, at least I usually know what the problem is, but it is still annoying to have to type in the argument every time, and to find and fix the ones where it was forgotten, since you normally don't need that argument.
This would be a huge streamlining of working with the matlab.engine. Thanks!
- Lingua principale
- Python
- Stelle
- 97
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mathworks/matlab-engine-for-python
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
-
Support sparse array Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Failed to build matlabengine Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di mathworks/matlab-engine-for-python
Issue simili
-
triage/confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100