Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
EXECIN Execute a function or script in different directory.
EXECIN(FUNCNAME) will execute function FUNCNAME, which is a string that includes the full path of the function.
[Y1, Y2, ...] = EXECIN(FUNCNAME, X1, X2, ...) allows input and output arguments that are normally allowed by the function FUNCNAME.
Example:
[s, out] = execin('C:\mywork dir\testfunction.m', x1, x2);
This is quite similar to Brett Shoelson's EXTERNALFCN. I didn't realize it until I made it. But there are some advantages such as ability to call functions without output arguments, and assigning outputs in the caller workspace (not base).
Citar como
Jiro Doke (2026). EXECIN (https://la.mathworks.com/matlabcentral/fileexchange/8518-execin), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspirado por: externalfcn
Información general
- Versión 1.1.0.1 (1,74 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
