You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``mxcall`` puts the input arguments to the MATLAB workspace (using mangled names), evaluates the function call in MATLAB, and retrievs the variable from the MATLAB session. This function is mainly provided for convenience. However, you should keep in mind that it may incur considerable overhead due to the communication between MATLAB and Julia domain.
313
313
314
-
#### Viewing the MATLAB Session
314
+
#### Viewing the MATLAB Session (Windows only)
315
315
316
-
To open an interactive window for the MATLAB session, use the command `show_msession()`. To hide the window, use `hide_msession()`. Note that closing this window will result in an error, so it is advised that one uses the `hide_msession()` command instead.
316
+
To open an interactive window for the MATLAB session, use the command `show_msession()` and to hide the window, use `hide_msession()`. *Warning: manually closing this window will result in an error or result in a segfault; it is advised that you only use the `hide_msession()` command to hide the interactive window.*
317
317
318
318
Note that this feature only works on Windows.
319
319
320
+
```julia
321
+
# default
322
+
show_msession() # open the default MATLAB session interactive window
323
+
get_msession_visiblity() # get the session's visibility state
324
+
hide_msession() # hide the default MATLAB session interactive window
325
+
326
+
# similarily
327
+
s =MSession()
328
+
show_msession(s)
329
+
get_msession_visiblity(a)
330
+
hide_msession(s)
331
+
```
332
+
333
+
320
334
#### Advanced use of MATLAB Engines
321
335
322
336
This package provides a series of functions for users to control the communication with MATLAB sessions.
0 commit comments