Questions tagged [simscape]

Simscape™ provides an environment for modeling and simulating physical systems spanning mechanical, electrical, hydraulic, and other physical domains.

Simscape™ provides an environment for modeling and simulating physical systems spanning mechanical, electrical, hydraulic, and other physical domains.

Simscape models can be used to develop control systems and test system-level performance. We can extend the libraries using the MATLAB® based Simscape language, which enables text-based authoring of physical modeling components, domains, and libraries.

Source: MathWorks.com (Simscape)

80 questions
0
votes
1 answer

Matlab Simscape pressurizing and depressurizing a vessel

I am trying to do a very simple simulation in Simscape but I have the feeling I still don't fully grasp the conservative ports and physical signals. I have a very simple pneumatic model: A vessel of volume V, an air pump, a tube and a solenoid…
avanwieringen
  • 2,404
  • 3
  • 21
  • 28
0
votes
1 answer

Programmatically connect two subsystems

I'm trying to build a complex model programmatically reusing some custom blocks/models I have developed before, but I cannot manage to connect two PMC_Port This is what I have: % Main system sys_name = 'model'; sys =…
jgsogo
  • 706
  • 1
  • 9
  • 18
0
votes
1 answer

What do .pmdlg files mean when building simscape code libraries in Matlab

When building simscape custom code libraries matlab generates files into the sscprj folder and generates files with extensions md5, mexw64 and pmdlg for each custom code component. The mexw64 is a mex file and the md5 is for file integrity checking.…
ashah
  • 193
  • 1
  • 4
  • 15
0
votes
1 answer

Input/output port in Simulink

Is there a way to create an input/output port in Simulink (some workaround)? The port would be a bus and some signals are set from outside the block while some signals are set by the block. Here is an example: Given the following bus: Flow…
remus
  • 2,635
  • 2
  • 21
  • 46
-1
votes
1 answer

How can I model wings with aerodynamic properties in Simscape Multibody?

I am currently designing a Simscape Multibody model of my drone. My drone is a three-armed device, which somewhat resembles the rotors of a helicopter. The drone is supposed to rotate around itself, using a motor on each arm. Furthermore, each arm…
1 2 3 4 5
6