Community Profile

photo

Brian Tremaine


Last seen: 2 månader ago Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

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...

4 månader 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...

7 månader 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...

7 månader 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...

mer än ett år 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)

mer än ett år 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 ...

mer än ett år 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_...

mer än ett år 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 ...

mer än ett år 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...

ungefär 2 år 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...

ungefär 2 år ago | 0 answers | 0

0

answers

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...

nästan 3 år 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 ...

nästan 3 år 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...

nästan 3 år 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...

nästan 3 år ago | 1 answer | 0

1

answer