![]() ![]() Will's pick this week is the Create From Blocks by Giacomo Faggiani. Let us know what you think here or leave a comment for Atul. And for that, it is my inaugural Pick of the Week. This is one of my most-used File Exchange contributions. We can open different elements and view plots of our data. It provides a data tree to explore the different elements of your physical network. Simply type ssc_explore(simlog) and a new window will open. The structure of this variable can be explored manually, and you can leverage all your traditional MATLAB analysis and visualization tools.Ītul's submission is a utility that makes examination of Simscape data even easier. Upon running your simulation, you will get a Simscape data logging variable. Within the Configuration Parameter Simscape tab, enable Data Logging. If you want the voltage and current pertaining to every element of your diagram, that's going to require a lot of extra work.įortunately, it is possible to log all data in a Simscape diagram in one fell swoop. ![]() However, if you go down this path, you can't escape the limitation that you will have to attach one Scope to every parameter you're interested in. Simscape Probes is a former Pick of the Week winner that streamlines this process. But how do I analyze the results of my simulation? Well, we could rely on Simulink Scope blocks to acquire time traces of data. In the example below, I have created a simple Graetz bridge rectifier electrical circuit. Rather than having to derive a system of equations and then implement those equations with basic Simulink blocks, I can instead schematically draft a physical network diagram. Simscape facilitates simulation of electrical, mechanical, hydraulic, magnetic, pneumatic, and thermal systems within Simulink. This week, I have selected a utility for our Physical Modeling tools. So get your submissions squeaky clean if you want to win the prize. Word to the wise, I am notorious as a perfectionist around the office. Since joining MathWorks, I have focused on Simulink, hence you will see favoritism towards Simulink contributions in my selections. I'm an aerospace engineer who has used MATLAB for over a decade. What's this, a new blogger? As Jiro and Brett continue their quest for the missing third amigo, they have graced me with the opportunity to select a few exchange contributions for this much-coveted award. Will's pick this week is the Simscape Simulation Results Explorer by Atul Suri. Give this a try and tell us what you think, or leave a comment for Tom on the submission page. In addition to what you see above, he has created a slew of probes for various domains, a utility to group probe signals, It's pretty straight-forward once you understand the process, but with Tom's utility, sensing will now become second nature. To do that in Simscape, you placeĪn appropriate sensor component, convert physical signals to Simulink signals, and measure. Well, you can do that with a simulation model as well. Whole aircrafts.) Those of you who have worked with physical systems can appreciate the fact that you can take measurements Useful when your system starts to get very complicated, like an airplane or a car (yes, our customers use our tools to model These tools allow you to model physical systems at a component level, rather than from equations. Jiro's pick this week is Simscape Probes by our fellow MathWorker Tom Egel.Ĭontinuing in the spirit of my previous pick, I would like to highlight another useful Simulink utility for those of you doing physical modeling using our Simscape™ product family. Tell us how you use MATLAB and Simulink together. You too can now drive and manipulate your Simulink model from either environment! In this example, Will shows how you can create a MATLAB GUI that not only drives and manipulates your Simulink model, butĪlso stays synchronized to the current state. Sure that the interface accurately reflects the current state of the model. But what if you want to beĪble to control the model directly through Simulink as well as through the MATLAB interface? In that case, you want to make This is not uncommon and can be accomplished by using functions like set_param and get_param. ![]() Imagine that you want toīuild a graphical user interface that controls your Simulink model ( You know how I'm all about GUIs!). Even though this is a simple example, I find this very useful and pedagogical. ![]() We've been mostly looking at MATLAB entries in this blog, but today we'll take a look at a Jiro's pick this week is Simulink GUI Synchronization by our fellow MathWorker Will Campbell. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |