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
Hi, is this possible?
I need to run some code in Matlab and then read the output which is only one number. I don't want to bring and brought back all the structures from Matlab.
When I use the iPython option I can see the correct answer (ans = ) in the iPython console, but I don't know how to use it in a variable.
thanks for the project!
Gari
The text was updated successfully, but these errors were encountered:
Yes you can do this. Assuming you want to store the result in Python as "res_py", and this number is stored in Matlab as "res_mat", you can use the following cell magic command to retrieve the number:
Hi, is this possible?
I need to run some code in Matlab and then read the output which is only one number. I don't want to bring and brought back all the structures from Matlab.
When I use the iPython option I can see the correct answer (ans = ) in the iPython console, but I don't know how to use it in a variable.
thanks for the project!
Gari
The text was updated successfully, but these errors were encountered: