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!
@JustinYoung-j9fАй бұрын
AE 501: I really appreciate seeing the derivation and the transfer into Simulink. Your effort for clarity in these video do not go unnoticed!
@ChristopherLumАй бұрын
Thanks! I'm glad you found the video helpful.
@minhaochen28474 жыл бұрын
The most helpful Matlab&Simulink instruction I have even seen. Thanks a lot!
@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!
@justinp.s99415 жыл бұрын
the best recommended for study exchange data from Simulink and Matlab Script ever !!!!!!
@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!
@altuber99_athlete3 жыл бұрын
Thanks × 100. There aren't great video tutorials for beginners in Matlab/Simulink. Greetings from Venezuela.
@jamesdavey31015 жыл бұрын
Scripting being the superior interface to GUI-based systems, this is a helpful resource.
@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!
@alisoncaprioli48615 жыл бұрын
Learned Simulink a while ago, glad there's a thorough video to help explain again different features.
@ShubhankGyawali-i1qАй бұрын
AE 501: Very nicely explained. It was a great summary of all the ways you can interact from a Matlab Script
@triskitman1246 жыл бұрын
Being able to have Matlab and Simulink talk to each other is a big advantage. Thanks
@julianwoo16096 жыл бұрын
Great video on showing how to return and use information from a Simulink model
@Abu-cb6bj3 жыл бұрын
i cant thank you enough. I was stucked at a problem for so long. Your video has helped me solve it.
@safafituri25373 жыл бұрын
Thank you. I have nothing else to describe how thankful i am 🥺
@alexsteahr84585 жыл бұрын
This is a pretty neat way to take Simulink and data analysis to the next level of complexity
@ginebro19304 жыл бұрын
Is incredible how bad documented Matlab is, thanks Christopher, you are a life saver.
@rudranathpalit99483 жыл бұрын
I have been searching for this for the last 4hrs. Thanks a lot God
@jacobcarroll39336 жыл бұрын
This video clears up a lot about interfacing MatLAB and Simulink.
@elijahleonen198 Жыл бұрын
AE501: Very helpful explanation of using MATLAB script with 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!
@carlydunford2546Ай бұрын
AE 501: This was super helpful for the homework! It made it super easy to export the scope graphs
@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
@sidraman69506 жыл бұрын
Very helpful video. Gave me a much better understanding of using MATLAB to interact with a Simulink model
@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
@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.
@kashishsingh97123 жыл бұрын
AMAZING VIDEO. Everything is so clear, no confusion whatsoever. Thank you so much.
@ChristopherLum2 жыл бұрын
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
@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
@jackpascho2561 Жыл бұрын
AA 516: This video made a previously daunting task really easy to understand and follow, I'm excited to learn more about Simulink modeling!
@rahelarefayne290510 ай бұрын
Thank you professor for your help .l am student from ethiopia ,tigray
@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.
@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
@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
@saviobrenner3 жыл бұрын
Thanks Sir, greetings from Brazil.
@everettkinyon76026 жыл бұрын
Thanks! It's really great to see the depth of Simulink/Matlab package
@MrAWD-ox3gk2 жыл бұрын
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
@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
@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.
@kenrickchan11656 жыл бұрын
Great resource for learning how to extract simulation data for analysis!
@keyshawnb4845Ай бұрын
AE 501: I really enjoyed learning about the more advanced features of simulink 🙂
@selamhendrix52525 жыл бұрын
great reference for a cleaner/faster way of using simulink thanks
@veekashpatel9536 жыл бұрын
Video is really helpful. Lots of good quality of life information.
@manitaregmi69322 жыл бұрын
AA 516 : Great video, really helped me to get started on HW 3.
@maheshwaria43594 жыл бұрын
Thank you for your kind help. It saves more time.
@nathanaelvertori91115 жыл бұрын
very good turorial, easy to understand. Thank you!
@ChristopherLum5 жыл бұрын
Thanks for watching!
@user-yz6ho8fx8j Жыл бұрын
Great Video!! Very good explanaitions, very good speed an great examples!!
@michelepinato11582 жыл бұрын
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
@reedthompson60315 жыл бұрын
I like how you can create your own torque function and model it in simulink.
@ericwang1615 жыл бұрын
Another great video! Starting to understand the true ability that Simulink has!
@HIEPNGUYEN-wb7yg6 жыл бұрын
Great tutorial. Very helpful. Thanks.
@jithendransmusicworld80844 жыл бұрын
Sir,superb description and the way you presented is simply excellent....Expect more from you sir
@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.
@anthonyz27195 жыл бұрын
Had a bit of trouble defining a function on Simulink recently. This gives me hope!! Thank you for the great content.
@marcosszmania58742 жыл бұрын
AE 512: good refresher on Simulink!
@אילרוקחרייפורטנוי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.
@mrcjg426 жыл бұрын
This video was so helpful I liked *and* commented on it. I don't do that often.
@nimamin5 жыл бұрын
A really great and useful tutorial. Thanks.
@ChristopherLum5 жыл бұрын
Thanks for watching
@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!
@zhiqiangfu79484 жыл бұрын
This is brilliant, thank you very very much.
@rowellcastro268310 ай бұрын
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.
@ChristopherLum10 ай бұрын
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.
@matthewbajamundi87745 жыл бұрын
A very helpful video. Thank you for posting this.
@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
@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
@chetanchaudhari11213 жыл бұрын
Great videos Christopher.. Thanks for your efforts for putting this
@michaelrudolf99885 жыл бұрын
good overview how to use simulink data in matlab. The graphs in matlab definitely look nicer than the scope charts.
@pradipbane42373 жыл бұрын
this what i was searching for so long thanks a lot
@christophersanchez22565 жыл бұрын
This was very helpful for learning more about Simulink!
@KarolOrtizSolarАй бұрын
AE501: Great explanation!
@charlesharmon90655 жыл бұрын
A lot of powerful tools/commands! Thank you for the tutorial, Dr. Lum.
@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!
@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!
@carterkraus28155 жыл бұрын
Excellent tutorial, thanks
@garrettdavis46655 жыл бұрын
Simulink seems to be a super powerful tool!
@sajeew5 жыл бұрын
This section helped in our homeworks Thanks Sam
@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" .
@mitchellhubbard57276 жыл бұрын
Thanks for the great video. This was very helpful and well laid out!
@jakegalleryn62005 жыл бұрын
Very in-depth.
@gurjeetjaggi83165 жыл бұрын
Great Tutorial Easy to Watch thank you
@philiparcher3675 жыл бұрын
This is excellent. Well done
@ChristopherLum5 жыл бұрын
I'm glad it was helpful, thanks for watching!
@xolanisiwela28654 жыл бұрын
This is brilliant, thank you.
@mgmgthwin5844 жыл бұрын
Great Tutorial! Very thank you Sir.
@karlbalitaan5 жыл бұрын
Nice video! Thanks for telling us the different ways to grab outputs from our Simulink model
@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
@tonyjanssen42554 жыл бұрын
Wow! This is great. Thank you so much.
@ChristopherLum4 жыл бұрын
I'm glad it was helpful thanks for watching!
@gryonr964 жыл бұрын
Awesome explanations, thank you so much!
@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
@takudzwamashamba74532 жыл бұрын
God bless you again bro!
@ryancazin59306 жыл бұрын
Thanks for the detailed tutorials on these utilities!
@TheDigolol3 жыл бұрын
Amazing tutorial. Thanks a lot!
@spencergrayston16856 жыл бұрын
Very useful information.
@AnkitKumarmeb3 жыл бұрын
very useful video, thank you for this!
@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!
@helenkuni90396 жыл бұрын
Very interesting and helpful tutorial.
@shengjiexiu5 жыл бұрын
Thanks a lot! Great introduction!
@ChristopherLum5 жыл бұрын
Thanks for watching!
@Apocobat2 жыл бұрын
Idk if its a quirk or I missed something in the video, but in order to access yout, I have to use out.yout as everything from the model is stored in an out parameter. Not sure why this is, and it seems like not many have this issue, but regardless, this is super helpful and will help me automate a ton of stuff. I'm working with motor models as a side project and running different parameters, voltages, etc and recording steady state/time delay etc and plotting, something that I knew could be done, but had no idea how to do it, seems very possible now. If i wanted to sweep 3-24V, record the steady state to an array, and plot the array, I could very easily do this, even juggling multiple models (comparing simulink parameters and simscape physical sims). This will save me a ton of time, thank you
@ChristopherLum2 жыл бұрын
Hi Joe, You are correct, this is one of the new additions/changes that Simulink implemented recently. 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. I can also answer questions via Patreon. Thanks for watching! -Chris