Control Simscape library example parameter programatically - matlab

I'm able to control (add/edit) simscape electrical block parameters programmatically, however, I've found one that I can't.
I'm trying to change the "Selected part" parameter of a simscape PMSM. This is (as I understand) actually a link to an XML library file.
So the thing I ask is if any of you has done it before and if so, could you help me?
Thank you!

Related

How to make vs code extension take in user path input and how to create coding templates

for my internship I am making an VS code extension. I have never developed anything like this before so any help or documentation links or tips are welcome.
what I am doing is as follows: develop an extension that is capable of taking in user input. the input will be a path to an .isf/.hdf file. this could be thru the simplest of text box buttons initially, as functionality before polish is what im focusing on right now.
It also needs to be able to provide templates with preconstructed code. such as, a option on the file menu where it might say "new template.py file". And when this option is choosen, a .py file with a lot of "boiler-plate" or preconstructed code is created for them.
im also using CanvasJS to show some graphical data. I would need a way for the graph to appear in a tab/window of the VS Code rather than the browser of the user.
Thank you in advance! Please let me know how to edit/add to this question, I know its extremely vague. Still a novice but excited to get this extension developed!
P.S.
im not expecting anyone to DO this for me, just to point me in the general direction so I can sink my teeth into useful documentation, examples, and/or tutorials. Thanks again :)

Can someone please explain in great detail how Advanced Locomotion V4 works

Please correct my understanding.
Advanced Locomotion uses AnimModifiers, Blueprints, Blendspaces, Creates curves programmatically and applies them. It stores alot of the functionalities inside functions which you cannot open to see how it works. Which also means it cannot be extracted to be used in a macro?
Ben

How to make a bus destination blind on roblox?

I'm a bus developer on the site roblox and I'm trying to work out how to make destination blinds such as the image attached. I've been using other developers destination blinds from Free Models but thought it would be a good Idea to create my own. If anyone could help me that would be great.
I assume you want to display custom text on a surface of a part.
In that case, you should use a SurfaceGui combined with a TextLabel.
The wiki page "Beginner's GUI Tutorial" might be helpful:
http://wiki.roblox.com/index.php?title=Beginner%27s_GUI_Tutorial#GUI_Types

Customizing IMarker behavior

I'm trying to make an Eclipse plugin that will highlight certain lines certain colors based on outside input. Is there any way to specify the behavior of a new IMarker rather than rely on basic implementation of bookmarks, problems, etc?
Thanks
I don't have the complete solution, but I think, I can give you some starting points.
The basic idea is to create custom annotations for your custom markers. You can define your own marker types, and register constant formatting rules for it (the latter one is a shameless link to one of my own blog posts). In this case, if your code creates the correct marker types, you can add the different formatting regarding the output.
On the other hand, if you have only a single problem type, I don't know the correct answer, but the Annotation Model Creation extension seems to be the answer. For details look at the Eclipse help.

What UI is used on this pictures? (node based ui)

I'm wondering what UI library is used on the images below (it's from CityEngine). Does anyone know other UI libraries with similar capabilities (free floating, connected nodes with arbitrary UI elements)?
I think it might be a part of Eclipse/JFace/SWT toolkit.
or:
In particular from your second sample it does indeed seem to be Eclipse/JFace/SWT. To be sure about how it gets that particular graph-like look you'd have to see the source, but my guess is it might use GEF: http://eclipse.org/gef
While the surrounding UI is implemented with Eclipse/JFace/SWT, the editor is not implemented with SWT or GEF but with a custom non-public library based on OpenGL.
I found a stack trace where you can clearly see that no SWT/GEF/Draw2D code is involved:
http://forums.esri.com/CityEngine/forum-30031.html.txt
The rendering code lives in the package org.corebounce.lib3d2.