photo

Andrew Schenk

Last seen: 22 dagar ago Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How to create Simscape component out of sub-components?
Chris, Yes, you can create a Simscape component which is just built from other Simscape components, this is called a composit...

mer än 6 år ago | 0

| accepted

Answered
How to resolve this problem with the simulation data inspector in R2017a?
A patch for this bug has been published. You can download it below: <https://www.mathworks.com/support/bugreports/1549008> ...

mer än 7 år ago | 0

| accepted

Answered
simscapepower and other block connection error
You cannot directly interface Simscape Power Systems Specialized Technology blocks with Simscape blocks. Consider replacing the ...

nästan 8 år ago | 0

Answered
the graph is incomplete, although the simulation run completely how can i solve this problem?
The MATLAB function fillmissing can be used to replace NaN values with neighboring values: <https://www.mathworks.com/help/ma...

nästan 8 år ago | 0

| accepted

Answered
Needle Valve control: What is the physical port S meaning?
The port S represents the variable x in the equations listed on: <http://www.mathworks.com/help/physmod/hydro/ref/needlevalve...

ungefär 8 år ago | 1

| accepted

Answered
Simscape model of latent heat storage in a PCM
It seems this block would be very similar to the Simscape thermal mass block. You can see the Simscape source for this block by ...

ungefär 8 år ago | 0

Answered
Cant find "Open viewer after simulation check box in the Configuration Parameters dialog box"
The Simscape Results Explorer was added to Simscape in MATLAB R2014b. However, you can download the following explorer from the ...

ungefär 8 år ago | 0

| accepted

Answered
Problem with custom simscape heat exchanger model
You will need to add four variables and corresponding branch statements for the energy flow rate, Phi at each node. The branch s...

ungefär 8 år ago | 3

Answered
Across and Through Variable determination for a basic algebraic system
In your diagram and generic component equations section above two ports, A and B, are used but the nodes section only defines A....

mer än 8 år ago | 1

Answered
Viewing water temperatures in SimScape
Barry, You will want to use the Pressure and Temperature sensor: <http://www.mathworks.com/help/physmod/simscape/ref/press...

nästan 9 år ago | 0

| accepted

Answered
Update the variables in ODE routines?
The purpose of the ODE solver is to solve for the values of Y given a MATLAB function which provides values of dY. If you want t...

mer än 9 år ago | 0

Answered
Trouble using the 3-D point cloud registration and stitching example
You can run the the 3-D point cloud and registration example by typing the following in the MATLAB Command Window: >> edit S...

mer än 9 år ago | 1

Answered
Recommended method for importing data in bus object format into a Rapid Accelerator simulation.
A From File block supports reading a MAT file that is a struct of Timeseries as a bus array. Note that you will need to save the...

mer än 9 år ago | 0

| accepted

Answered
Should the blocks of transmitted bits be the same for repeated transmission at a specific SNR?
You should not need to seed the random number generator since the bit error rate should not depend on the underlying data. A com...

mer än 9 år ago | 0

Answered
How can I get the points of the Scope block while the simulation is running?
You can execute the following MATLAB Command to update the scope data variables in the Workspace while Simulink is running. Note...

mer än 9 år ago | 1

| accepted

Answered
Discrepancy with d2c function?
The following code does what you are describing and is able to exactly recover the original sys1. It is better to use the |tfdat...

mer än 9 år ago | 0

Answered
SPMD Loop Iteration Job Not Submitting on MATLAB Distributed Computing Server
Take a look at this UCL FAQ as it mentions the same final error message you are encountering: <https://wiki.rc.ucl.ac.uk/wik...

mer än 9 år ago | 0

Answered
MVAPICH or OpenMPI with MDCE?
The following documentation describes how to use different MPI builds: <http://www.mathworks.com/help/mdce/use-different-mpi-bu...

mer än 9 år ago | 0

Answered
Matlab multilevel array data removal based on value
The comment by Image Analyst is correct, every pixel location in an image must have some RGB value, so you cannot remove them pe...

mer än 9 år ago | 0

Answered
Worldmap plot with data
The code below will create a map axes, set the longitude limits to 0 to 360 and plot the coastlines on the map. Note that the Me...

mer än 9 år ago | 0

Answered
mex file: monitoring (continuously) variables defined in matlab functions
The best way of updating MATLAB variable values to an external library is to call the MEX function. It is not possible for the M...

mer än 9 år ago | 0

Answered
How to insert a delay in between system commands in matlab
To insert a delay between system commands, use the MATLAB |pause| command which will delay execution by |n| seconds as shown bel...

mer än 9 år ago | 0

Answered
Matrix representation in generated C code / asap2 file
All Simulink signals and parameters will be code generated as 1-D vectors. If all your variable names are consistent with the fo...

mer än 9 år ago | 1

| accepted

Answered
Set constant value in a constant block from gui to simulink (working with f28335 target)
To update Simulation workspace variables while External mode is running, add the following code to your GUI callback function: ...

mer än 9 år ago | 0

Answered
Is there a way to reconcile multiple rtwtypes.h files?
You can view the M file that is used to create the rtwtypes.h file by executing the following command >> edit([matlabroot '/...

mer än 9 år ago | 1

| accepted

Answered
can I use a compiled (.exe) file to generate my objective functions while running optimisation in MATLAB?
Optimization functions like fminunc simply need a MATLAB function of the form y = f(x) to operate on. To interface with your ext...

mer än 9 år ago | 0

| accepted

Answered
Is there an API to customize the new dashboard functionality?
This is currently not possible in MATLAB R2015a, but I work for MathWorks and will pass along this feature request to our develo...

mer än 9 år ago | 0

| accepted

Answered
Header file is not compiling
This is more of a limitation of normal C coding - if a header file is included, all of the contents of the header file must be d...

mer än 9 år ago | 0

| accepted

Answered
How to put a transfer Function into a SimScape Model?
The Simulink-PS Converter1 block located after the Transfer Function needs to supply the Ideal Translational Source with 1st and...

mer än 9 år ago | 0

| accepted

Answered
Reset Initial Conditions of level 1 S-function states
There are two ways to do this. You can either: # Add an extra input to the S-function and write a conditional statement to re...

mer än 9 år ago | 0

Load more