Thank you!! Very clear! Can I run C++ code integrated with MATLAB in VSCode? I need a more powerful language, like C++, to run CFD simulations, but I really like the visualization tools that MATLAB has to offer. Thanks in advance!
@philparisi_2 ай бұрын
Hi there! Good question and I don’t know if you can directly run C++ thru the MATLAB VSCode extension. What you could do, is run your C++ code and store the data you want to visualize in a common format (.csv). Then, in the same library, have visualization code that can ingest those csvs. If you wanna dig in further, I’d recommend reaching out directly to MathWorks for advice! And you could maybe even have the c++ code trigger running MATLAB code if you didnt want to do it manually… or a bash script… but that gets away from VS code then.
@antoniodimauro78382 ай бұрын
@@philparisi_ Thank you very much! Very insightful! I didn’t think about the csv, probably that will be perfect for what I need. The only limiting factor might be the amount of data that needs to be stored. Probably a live plotting would be more practical. Apparently a MATLAB session can be run through C++, but I’m not sure if it works with VSCode as you said. Thanks again, I will update you in case I figure it out.
@philparisi_2 ай бұрын
@@antoniodimauro7838 good points all around, let me know if you find an approach that works!
@xiaoer-nq3pk4 ай бұрын
thank you for your tutorial
@philparisi_4 ай бұрын
You're welcome 😊
@SattwikSahuIISERB5 ай бұрын
How to use Neovim for MATLAB?
@philparisi_4 ай бұрын
Sorry, no video for that yet and I haven’t tried myself yet!
@ilovebaking-v2v7 ай бұрын
Hi there, a quick question to you as an engineer. Is MATLAB popularly used or is Python/C++ popularly used in engineering? I've read some articles that C++ is the way to go with engineering but I wasn't sure why. And in this channel, the topic is on MATLAB so I was a bit confused what is what. Thank you in advance.
@philparisi_7 ай бұрын
Hi there, thanks for your patience with my reply. It depends on the type of engineering. Most of my mechanical engineering friends haven't needed MATLAB (or other languages) in their product design roles. Rather, they depend on CAD software. If you start to work with data in your career, MATLAB and Python are your friends. If you get into statistics and biological sciences, R. If you do embedded systems and low-level fast processing, then C/C++ becomes more relevant. Ultimately, look at the job roles that most interest you, see the programming requirements, and lean towards learning those languages!
@afrizalprojects11427 ай бұрын
can we create 3D plot in vs code when connect with matlab?
@philparisi_7 ай бұрын
Hey there, yes! You can do pretty much everything you can do with MATLAB IDE with VS code. Some advanced features of the code editor (like debugging) are still coming, but the essentials like plotting are all there. My understanding is that MATLAB kinda ‘runs headless in the background’ and VS code is accessing that MALTAB instance. Of course, that’s not correct but it’s my mental model!
@tsbluster78288 ай бұрын
Thank you.
@philparisi_8 ай бұрын
Happy to help! Thanks for tuning in and have a great weekend!
@TheMaruma4 ай бұрын
Is it run the code or should i install matlab?
@philparisi_4 ай бұрын
You need to install MATLAB on your desktop as well!