Community Profile

photo

Brian Tremaine


Last seen: 2 months ago Active since 2019

Statistics

  • First Answer
  • Thankful Level 3

View badges

Content Feed

View by

Question


difficulty solving simulataneous equations
I am new to symbolic editor and am having difficulty getting a non-empty solution. As a test I have a problem I can solve by han...

2 months ago | 2 answers | 0

2

answers

Question


Getting "not a valid name" error
I am using the WaterTank Matlab example code and adapting it to my own specific problem. I'm getting an error that "WaterTank.sl...

4 months ago | 1 answer | 0

1

answer

Answered
Why is Matlab Coder not available in the home version of a license?
One great advanatge of the Home license is that it is affordable for an individual to buy and learn the software. How can you st...

11 months ago | 0

Question


dbode results in phase shift that is wrong (I believe)
I'm looking at bode plots of linear phase FIR filters and I believe I am getting the wrong phase plot with filter order > 5. In...

2 years ago | 1 answer | 0

1

answer

Question


Can I use typedef in a C-file S-function?
I'm simulating some C code from an STM32 MCU in a Matlab Simulink model using a C-file S-Function. In my MCU code I use a typede...

2 years ago | 0 answers | 0

0

answers

Question


Can't get Simulink model to recognize a Level-2 S-Function using c file
Hi I am using Matlab R2021a. I have a simple model in which I am using a Level-2 S-function and providing the name of a compile...

2 years ago | 0 answers | 0

0

answers

Question


Can C code user function be used in Simulink S-Function
I have a large simulation in Simulink that uses S-functions written in c-code. For readability I would like to define a user fun...

3 years ago | 1 answer | 0

1

answer

Question


Simulink scope not display signal name
I have a Simulink scope module and it does not display the signal name beyond plot #5 (Simulink 2020b)

3 years ago | 1 answer | 0

1

answer

Question


S-function procedure calling order?
I have a relativley trivial S-function I can' get to work properly.It will be a larger function but for now is a saw-tooth that ...

3 years ago | 0 answers | 0

0

answers

Question


Error in S-function MDL_Derivatives
I'm creating a model using example mex file csfunc.c as a starting example. When I compile & execute I get a fatal error in MDL_...

3 years ago | 0 answers | 0

0

answers

Question


Simulink 2019b Fnc block not working
I'm using a Fnc block in Simulink in a motor modeling simulation and it is not working. I'm using the Fnc block to model torque ...

3 years ago | 0 answers | 0

0

answers

Question


How to view back EMF in PMSM model with sinusoidal bemf selected
I'm using the power_BrushlessDCmotor example model to run a PMSM. My application is a sinusoidal bemf. The example is tra[ezoida...

4 years ago | 0 answers | 0

0

answers

Question


Advice needed on sensorless BLDC model choice
Hi All, I need to build a model of my present speed control sensorless BLDC system that uses 6-step commutation. It uses bemf z...

4 years ago | 1 answer | 0

1

answer

Question


troubles loading Simulink operating point
I am trying to save and restore an operating point in Simulink R2019a. This is a feature I'm just starting to use. I used the f...

4 years ago | 1 answer | 1

1

answer

Question


Saving Simulink environment and data from run?
I have a Simulink model that takes a couple hours to run. When the run is completed I'd like to be able to save the environment ...

4 years ago | 1 answer | 0

1

answer

Question


Simulink sample time with external sample clock?
Hi, I want to run a S&H block with an external sample pulse. I am simulating a mixed signal digital PLL for a motor control. Th...

4 years ago | 1 answer | 0

1

answer

Question


How to speed up a Simulink simulation of slow mechanics requiring a fast clock?
What are the best methods to speed up a simulation that uses a 5Mhz clock but needs to simulate 2 sec of run-time? I am runnin...

4 years ago | 1 answer | 0

1

answer