Open Yizhan-Gu opened 5 months ago
This is a function used to obtain variable information, so the extension needs to execute this function every time you run your code. If it is turned off, the extension will not be able to display variable information in vscode.
I know that, but is it possible that running the function without printing the function name in vscode each time? Thanks a lot. Yizhan PhD Student, Center for Energy Research Mechanical & Aerospace Engineering University of California, San Diego
2024年3月13日 16:33,Liangliang Zhu @.***> 写道:
This is a function used to obtain variable information, so the extension needs to execute this function every time you run your code. If it is turned off, the extension will not be able to display variable information in vscode.
— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/shinyypig/matlab-in-vscode/issues/36*issuecomment-1996082721__;Iw!!Mih3wA!Dm_ngOoGbCEUZfOMCr3bmo0u8kyNI0VLq_gkIREthhKaKSgfnMn7_ASsB2Xza54t97VAkIQolBIEDDsBFB8xOd6_Wg$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ASQRYGLFSPIZ25TFXZRL4K3YYDO53AVCNFSM6AAAAABEUXK43OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWGA4DENZSGE__;!!Mih3wA!Dm_ngOoGbCEUZfOMCr3bmo0u8kyNI0VLq_gkIREthhKaKSgfnMn7_ASsB2Xza54t97VAkIQolBIEDDsBFB9AByeiVw$. You are receiving this because you authored the thread.
Since you can fprint "\b" to delete a character in matlab native terminal, how ever it does not work in python matlab engine.
Sorry, I currently cannot think of any method to run a function in MATLAB without displaying its name.
No worry, thanks for letting me know.发自我的 iPhone在 2024年3月14日,06:45,Liangliang Zhu @.***> 写道: Since you can fprint "\b" to delete a character in matlab native terminal, how ever it does not work in python matlab engine. Sorry, I currently cannot think of any method to run a function in MATLAB without displaying its name.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Sorry one more thing, Is it able to use this with apple silicon Matlab? And after reconstruction of the environment I am not able to use that, maybe conflict with some other matlab plug-ins in vscode? Thanks a lot if you could solve this. PhD Student, Center for Energy Research Mechanical & Aerospace Engineering University of California, San Diego
2024年3月14日 06:45,Liangliang Zhu @.***> 写道:
Since you can fprint "\b" to delete a character in matlab native terminal, how ever it does not work in python matlab engine.
Sorry, I currently cannot think of any method to run a function in MATLAB without displaying its name.
— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/shinyypig/matlab-in-vscode/issues/36*issuecomment-1997496173__;Iw!!Mih3wA!Clzg612S-lrZihC3n7aGRo1gV6RW6bCoXYyo1nEUNgG7dNxsXrECSUNLB8ZkVUXvvl4kYjh6bf7C34VgUsbI8UXx_A$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ASQRYGMYJPZUKCBJ6A2NQQLYYGSWFAVCNFSM6AAAAABEUXK43OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGQ4TMMJXGM__;!!Mih3wA!Clzg612S-lrZihC3n7aGRo1gV6RW6bCoXYyo1nEUNgG7dNxsXrECSUNLB8ZkVUXvvl4kYjh6bf7C34VgUsZCstgkYg$. You are receiving this because you authored the thread.
Ok no worries I find the running method, do you think it helpful to supplement a more detailed readme of using instructions? I prefer this plugin cause I can use Copilot in Vscode and looks prettier than original Matlab. Maybe I could be able to improve it if you don't have time. Thanks. Yizhan PhD Student, Center for Energy Research Mechanical & Aerospace Engineering University of California, San Diego
2024年3月14日 12:56,Yizhan Gu @.***> 写道:
Sorry one more thing, Is it able to use this with apple silicon Matlab? And after reconstruction of the environment I am not able to use that, maybe conflict with some other matlab plug-ins in vscode? Thanks a lot if you could solve this. PhD Student, Center for Energy Research Mechanical & Aerospace Engineering University of California, San Diego
2024年3月14日 06:45,Liangliang Zhu @.***> 写道:
Since you can fprint "\b" to delete a character in matlab native terminal, how ever it does not work in python matlab engine.
Sorry, I currently cannot think of any method to run a function in MATLAB without displaying its name.
— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/shinyypig/matlab-in-vscode/issues/36*issuecomment-1997496173__;Iw!!Mih3wA!Clzg612S-lrZihC3n7aGRo1gV6RW6bCoXYyo1nEUNgG7dNxsXrECSUNLB8ZkVUXvvl4kYjh6bf7C34VgUsbI8UXx_A$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ASQRYGMYJPZUKCBJ6A2NQQLYYGSWFAVCNFSM6AAAAABEUXK43OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGQ4TMMJXGM__;!!Mih3wA!Clzg612S-lrZihC3n7aGRo1gV6RW6bCoXYyo1nEUNgG7dNxsXrECSUNLB8ZkVUXvvl4kYjh6bf7C34VgUsZCstgkYg$. You are receiving this because you authored the thread.
Me using the apple silicon matlab too, everything works fine.
This extension simply brings up a matlab terminal in vscode, and then sends the code you need to run to the terminal. Moreover, variable_info
is a matlab function, which you can find here. So the question is if there exists anyway we could delete the last command line in matlab terminal after running a script. As far as I am aware, that's not the case.
p.s. In macOS, using the Python backend is not recommended.
Dont want the returning, is the setting in matlab_engine.py or other places?