In case it is helpful, here are all my Matlab videos in a single playlist kzbin.info/aero/PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF. You can support this channel via Patreon at www.patreon.com/christopherwlum or by clicking the 'THANKS' button underneath the video. Please let me know what you think in the comments. Thanks for watching!
@hihry85554 жыл бұрын
Thank you. Also, where can i dowbload your script ?
@mihirsanjay45772 жыл бұрын
for those who are using R2021b some tweaks are to be made as described below 11:42 you will see an extra variable (probably named ans) in your workspace once 'sim('PendulumModel.slx')' command is executed. 13:55 Now after that when you create an outport(yout) in simulink and run the code, you wont see any other variable getting added to your workspace. that is because the 'yout' variable will be created under the variable that was previously generated(probably named ans). Due to this you wont get the output you are expecting, to get the appropriate output just change code line, at 15:17 thetasignal = yout.getElement('theta'); to thetasingal = ans.yout.getElement('theta'); also to check the yout variable in command prompt , 14:05 type 'ans.yout'+enter 19:31 to get signal dimensions go to debug ------> information overlays ------->signals------->signal dimensions 23:58 'simX' & 30:38 'logsout' is similar variable to 'yout'. Change the code in similar way.
@davidecascioli4717 Жыл бұрын
Love you
@anshumansharma67585 жыл бұрын
Your tutorials are long, but the clarity after watching them is amazing. Thank you for putting these efforts for us.
@ChristopherLum5 жыл бұрын
I'm glad it was helpful, thanks for watching!
@actuallyjc5 жыл бұрын
I was lost until I found you. Thank you very much for the great content.
@ChristopherLum5 жыл бұрын
I'm glad it was helpful. I have other videos that you might be in interested in regarding Matlab and Simulink. Thanks for watching!
@JustinYoung-j9f3 ай бұрын
AE 501: I really appreciate seeing the derivation and the transfer into Simulink. Your effort for clarity in these video do not go unnoticed!
@ChristopherLum3 ай бұрын
Thanks! I'm glad you found the video helpful.
@minhaochen28474 жыл бұрын
The most helpful Matlab&Simulink instruction I have even seen. Thanks a lot!
@altuber99_athlete3 жыл бұрын
Thanks × 100. There aren't great video tutorials for beginners in Matlab/Simulink. Greetings from Venezuela.
@tunichtgut52855 жыл бұрын
Your tutorials are far better than the stuff from Mathworks. Thank your very much!
@ChristopherLum5 жыл бұрын
Thanks for the kind words. I've got several other videos on Matlab at kzbin.info/aero/PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF, please feel free to check them out. Thanks for watching!
@paulpietrowicz36832 жыл бұрын
AE501- The level of detail and why the methods are done each way is very helpful. Taking the viewer from novice to beginner quickly. More useful tools in the toolbox for Simulink! Thank you Chris!
@triskitman1246 жыл бұрын
Being able to have Matlab and Simulink talk to each other is a big advantage. Thanks
@jamesdavey31016 жыл бұрын
Scripting being the superior interface to GUI-based systems, this is a helpful resource.
@yugeshkeluskar4 жыл бұрын
You are the best teacher that I have ever found for Control Theory, I wish I knew you when I was taking my control systems course at university and yeah... you just got a new subscriber. ;)
@ChristopherLum4 жыл бұрын
I'm glad it was helpful. There are other similar videos on the channel, please feel free to check them out. Thanks for watching!
@yugeshkeluskar4 жыл бұрын
@@ChristopherLum sure
@musicnonstop9874 жыл бұрын
Christopher Lum, You are a really good instructor. You should make more tutorials!! Maybe more beginners, intermediate, expert
@aimeepak7173 жыл бұрын
AE501: This video had exactly what I needed to output data from Simulink. I also never knew you could run a Simulink model from a Matlab script! Knowing that in undergrad would've have helped a lot. Thanks again for a great Simulink reference.
@ChristopherLum3 жыл бұрын
Aimee, I'm glad it was helpful. Were you able to get the data from the 'To Workspace' block using the new syntax we discussed?
@aimeepak7173 жыл бұрын
@@ChristopherLum I was! I tried out both the "out1" block and the "to workspace" block.
@alisoncaprioli48615 жыл бұрын
Learned Simulink a while ago, glad there's a thorough video to help explain again different features.
@rudranathpalit99483 жыл бұрын
I have been searching for this for the last 4hrs. Thanks a lot God
@alexsteahr84585 жыл бұрын
This is a pretty neat way to take Simulink and data analysis to the next level of complexity
@Abu-cb6bj3 жыл бұрын
i cant thank you enough. I was stucked at a problem for so long. Your video has helped me solve it.
@julianwoo16096 жыл бұрын
Great video on showing how to return and use information from a Simulink model
@justinp.s99416 жыл бұрын
the best recommended for study exchange data from Simulink and Matlab Script ever !!!!!!
@kashishsingh97123 жыл бұрын
AMAZING VIDEO. Everything is so clear, no confusion whatsoever. Thank you so much.
@ChristopherLum3 жыл бұрын
Hi, Thanks for the kind words, I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@TudorMiron2 жыл бұрын
Many thanks for your work! If I would find this tutorial earlier it would have saved me tons of time spent figuring things out myself. Still, this was extremely helpful, thanks to concise and clear way that you present information. Looking forward to learn more from your excellent tutorials.
@ChristopherLum2 жыл бұрын
Hi, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@safafituri25373 жыл бұрын
Thank you. I have nothing else to describe how thankful i am 🥺
@sethwhittington284 жыл бұрын
AE501: Very thorough tutorial. Provides instruction on multiple different ways to get data from Simulink to Matlab and vis-à-vis. I think I prefer your 45 minute videos to the 70+ minute videos, especially for foreign concepts.
@carlydunford25463 ай бұрын
AE 501: This was super helpful for the homework! It made it super easy to export the scope graphs
@sidraman69506 жыл бұрын
Very helpful video. Gave me a much better understanding of using MATLAB to interact with a Simulink model
@jacobcarroll39336 жыл бұрын
This video clears up a lot about interfacing MatLAB and Simulink.
@haligali43604 жыл бұрын
You really deserve much more likes!!!!!!!
@ChristopherLum4 жыл бұрын
I'm glad it was helpful. There are several related videos on the channel. Please feel free to check them out and I would love to hear what you think in the comments. Thanks for watching!
@simonriley77504 жыл бұрын
Amazing lecture. Detailed and well put together. Thank you!
@ChristopherLum4 жыл бұрын
I'm glad it was helpful. There are other similar videos on the channel please feel free to check them out and let me know what you think in the comments. Thanks for watching
@jackpascho25612 жыл бұрын
AA 516: This video made a previously daunting task really easy to understand and follow, I'm excited to learn more about Simulink modeling!
@elijahleonen198 Жыл бұрын
AE501: Very helpful explanation of using MATLAB script with Simulink!
@ngergihun2 жыл бұрын
One of the best and most useful tutorial. Straightforward but full of details and information at the same time! Huge thanks for it! WANT MORE! :D
@ChristopherLum2 жыл бұрын
Hi Gergely, Thanks for the kind words, I'm glad you enjoyed the video. I have a playlist dedicated to Matlab/Simulink on the channel. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@ginebro19304 жыл бұрын
Is incredible how bad documented Matlab is, thanks Christopher, you are a life saver.
@ashish314162 жыл бұрын
Excellent pedagogy. Thankyou Prof. Lum
@ChristopherLum2 жыл бұрын
Hi Ashish, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@eengpriyasingh7062 жыл бұрын
My very basic to complex doubts ...all are sorted thanku for such great video.....
@ChristopherLum2 жыл бұрын
Hi, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@everettkinyon76026 жыл бұрын
Thanks! It's really great to see the depth of Simulink/Matlab package
@SufiShahHamidJalali2 жыл бұрын
One of the very useful that is worth watching and you will learn something from it.
@ChristopherLum2 жыл бұрын
Hi Sufi, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@SufiShahHamidJalali2 жыл бұрын
@@ChristopherLum Thanks Chris. Sure I will consider that in a near future! Your work is good and it is worth it so I will do that but in a near future. Now, I am in the middle of something please.
@MrAWD-ox3gk3 жыл бұрын
Your explanation is so good! Thanks.
@jesusespinoza23495 жыл бұрын
Learned a lot; I did most of this stuff manually, but these steps can help save a lot of time
@user-yz6ho8fx8j Жыл бұрын
Great Video!! Very good explanaitions, very good speed an great examples!!
@anthonyz27195 жыл бұрын
Had a bit of trouble defining a function on Simulink recently. This gives me hope!! Thank you for the great content.
@rahelarefayne2905 Жыл бұрын
Thank you professor for your help .l am student from ethiopia ,tigray
@jithendransmusicworld80844 жыл бұрын
Sir,superb description and the way you presented is simply excellent....Expect more from you sir
@kenrickchan11656 жыл бұрын
Great resource for learning how to extract simulation data for analysis!
@saviobrenner3 жыл бұрын
Thanks Sir, greetings from Brazil.
@manitaregmi69323 жыл бұрын
AA 516 : Great video, really helped me to get started on HW 3.
@אילרוקחרייפורטנוי4 жыл бұрын
thank you very much!, this is very informative and helpfull! I'm an engeneering studant and your channel is like a tresure for me.
@nathanaelvertori91115 жыл бұрын
very good turorial, easy to understand. Thank you!
@ChristopherLum5 жыл бұрын
Thanks for watching!
@selamhendrix52525 жыл бұрын
great reference for a cleaner/faster way of using simulink thanks
@charlesharmon90655 жыл бұрын
A lot of powerful tools/commands! Thank you for the tutorial, Dr. Lum.
@ericwang1615 жыл бұрын
Another great video! Starting to understand the true ability that Simulink has!
@Mike1158-x2c2 жыл бұрын
Thank you for this clear and helpful tutorial
@ChristopherLum2 жыл бұрын
Hi Michele, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@rowellcastro2683 Жыл бұрын
AA516: Thank you for this tutorial Professor! It might be a little bit confusing to some with the newer versions and how the data are structured slightly different but getting help from mathworks and directly clicking the data outputs to see what is stored in there will solve most of the issues. Thanks.
@ChristopherLum Жыл бұрын
I'm glad you are able to reconcile the differences. This is a powerful mechanism and we'll use this a lot in the future.
@1matzeplayer14 жыл бұрын
Man, you are Incredible!!!
@ChristopherLum4 жыл бұрын
I'm glad you enjoyed it. I've got several other videos in this series on the channel (and more coming in the very near future). Please let me know what you think of the other videos, thanks for watching!
@pradipbane42373 жыл бұрын
this what i was searching for so long thanks a lot
@veekashpatel9536 жыл бұрын
Video is really helpful. Lots of good quality of life information.
@chetanchaudhari11213 жыл бұрын
Great videos Christopher.. Thanks for your efforts for putting this
@garrettdavis46655 жыл бұрын
Simulink seems to be a super powerful tool!
@samerrasheed22792 жыл бұрын
It's such an amazing job❤ My gratitude and appreciation for you🙏🙏
@ChristopherLum2 жыл бұрын
Hi Samer, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@maheshwaria43594 жыл бұрын
Thank you for your kind help. It saves more time.
@nimamin5 жыл бұрын
A really great and useful tutorial. Thanks.
@ChristopherLum5 жыл бұрын
Thanks for watching
@mrcjg426 жыл бұрын
This video was so helpful I liked *and* commented on it. I don't do that often.
@kaiserluvsmariel3 жыл бұрын
This was an incredible video! Thank you so much this helped me with my final project.
@ChristopherLum3 жыл бұрын
Hi, Thanks for the kind words, I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@Shahaha04184 жыл бұрын
Great tutorial! Thank you for the nice demonstrations.
@ChristopherLum4 жыл бұрын
I'm glad it was helpful. There are other similar videos on the channel please feel free to check them out and let me know what you think in the comments. Thanks for watching!
@ahungryflyer4 жыл бұрын
AE501: Great intro to getting matlab to talk to simulink. I was using R2020b and had some trouble getting "yout" to work correctly like your video. Had to go to model settings -> data import/export -> "uncheck" single simulation output and all worked perfectly. I guess mathworks must have modified that between 2016b and now.
@ChristopherLum4 жыл бұрын
Andrew, thanks for pointing this out, this is very helpful for users with R2020b. There were indeed some changes made between Matlab versions. As such, be careful in future demos and you may need to make small tweaks.
@lucianogalan32103 жыл бұрын
Just saved me after 45 minutes of trial and error. Thanks!
@일렉튜브2 жыл бұрын
Thank you! I was struggling from the same issue.
@mohamedmamdouhelkholy2072 Жыл бұрын
I keep getting this error "Dot indexing is not supported for variables of this type" .
@karlbalitaan5 жыл бұрын
Nice video! Thanks for telling us the different ways to grab outputs from our Simulink model
@michaelrudolf99885 жыл бұрын
good overview how to use simulink data in matlab. The graphs in matlab definitely look nicer than the scope charts.
@saurabhtalele15374 жыл бұрын
Sir its just really really helpful...... 🌹🌹🌹
@ChristopherLum4 жыл бұрын
I'm glad it was helpful. There are other Simulink videos on the channel. Please feel free to check them out. I'd love to hear from you in the comments on a future video. Thanks for watching!
@mitchellhubbard57276 жыл бұрын
Thanks for the great video. This was very helpful and well laid out!
@ryoonoue10763 жыл бұрын
AE501. Great Video. I had actually never really used Simulink and I was thinking whether this was possible during the last video. I think you did a great job describing how to utilize it. Thanks for the vid!
@philiparcher3675 жыл бұрын
This is excellent. Well done
@ChristopherLum5 жыл бұрын
I'm glad it was helpful, thanks for watching!
@christophersanchez22565 жыл бұрын
This was very helpful for learning more about Simulink!
@jxpeng82242 жыл бұрын
it's super clear and supportive. Thanks!
@ChristopherLum2 жыл бұрын
Hi JX, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
@matthewbajamundi87745 жыл бұрын
A very helpful video. Thank you for posting this.
@reedthompson60316 жыл бұрын
I like how you can create your own torque function and model it in simulink.
@ryancazin59306 жыл бұрын
Thanks for the detailed tutorials on these utilities!
@zhiqiangfu79484 жыл бұрын
This is brilliant, thank you very very much.
@keyshawnb48453 ай бұрын
AE 501: I really enjoyed learning about the more advanced features of simulink 🙂
@laithhameedalazawy5 жыл бұрын
This is great video You're awesome Keep up the great work and I wish you all the best in your life
@xolanisiwela28654 жыл бұрын
This is brilliant, thank you.
@HIEPNGUYEN-wb7yg6 жыл бұрын
Great tutorial. Very helpful. Thanks.
@SomeoneCommenting4 жыл бұрын
Although at 15:27 he shows you how to extract the time signal from the structure (which is nice to learn how to extract any signal from a structure), every simulation will always give you the time vector for the whole thing in the variable *tout* , which you don't need to define because the model will output it by default for you. That *t* that he defined is already *tout* if you wanted to use it. You can see in the variables section that they will both end having the same dimensions, a vector of 903 elements.
@jakegalleryn62005 жыл бұрын
Very in-depth.
@tonyjanssen42555 жыл бұрын
Wow! This is great. Thank you so much.
@ChristopherLum5 жыл бұрын
I'm glad it was helpful thanks for watching!
@takudzwamashamba74532 жыл бұрын
God bless you again bro!
@sajeew5 жыл бұрын
This section helped in our homeworks Thanks Sam
@gurjeetjaggi83165 жыл бұрын
Great Tutorial Easy to Watch thank you
@shengjiexiu5 жыл бұрын
Thanks a lot! Great introduction!
@ChristopherLum5 жыл бұрын
Thanks for watching!
@westlifegc2 жыл бұрын
Awesome tutorial! Really thank you!
@ChristopherLum2 жыл бұрын
Hi Eric, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris