Community Profile

photo

John F


Magna Electronics

Active since 2011

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Content Feed

View by

Question


Using assignin with structure elements
Hi, I have created a script where I want to assign a character string to an element in a structure, namely the "description" fi...

4 years ago | 1 answer | 1

1

answer

Question


Enums of smaller data types
Hi everyone, I am wondering if there's a way to create enumerated types of smaller sizes. When generating code with Simulink mo...

4 years ago | 1 answer | 0

1

answer

Question


Finding duplicate variables in multiple M files
I am working on a legacy program and have inherited a number of m files that are used for defining parameters in our Simulink mo...

6 years ago | 1 answer | 0

1

answer

Question


Using PTC Integration for Source Control in Simulink Project
I'm using a PTC integration called SCC that implements a Source Control Interface. It looks like it can do a lot of things inclu...

6 years ago | 1 answer | 0

1

answer

Question


How to bypass startup file in Application Builder
I am trying to build a standalone app. I have been successful in the past doing it. However, I now have a custom startup.m file ...

7 years ago | 1 answer | 0

1

answer

Question


A2L File from Embedded Coder
I want to be able to generate an A2L file from Embedded Coder. I know I can select to generate it from the options in the code b...

7 years ago | 1 answer | 1

1

answer

Question


Creating a standalone executable with Vehicle Network Toolbox commands
Hi everyone, I'm trying to build a standalone app that use "canMessageImport" to pull in an ACSII file from Vector and parses...

7 years ago | 1 answer | 0

1

answer

Question


Extract signal info from a CAN log
Hello everyone, I have a number of CAN logs collected using Vector tools. Each log has the entire CAN network collected for s...

7 years ago | 1 answer | 0

1

answer

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Question


Undefined function or variable error when trying to deploy a gui
I am creating a GUIDE-based GUI, and I want to deploy it creating a standalone app. When I give the executable to anyone else, t...

8 years ago | 2 answers | 0

2

answers

Question


How to have multiple GUI functions access varargin?
Is there a way to have all the functions in a GUIDE-based GUI access the input arguments to the function? I've done this by crea...

8 years ago | 1 answer | 0

1

answer

Question


opening a simulink model from 2014b in 2013b
I saved one of my Simulink models in R2014b and am trying now to open it in R2013b. I'm getting all sorts of errors, dead links,...

8 years ago | 0 answers | 0

0

answers

Question


opening a simulink model from 2014b in 2013b
I saved one of my Simulink models in R2014b and am trying now to open it in R2013b. I'm getting all sorts of errors, dead links,...

8 years ago | 1 answer | 0

1

answer

Question


Constraining parameters with Sys ID Toolbox
I'm trying to fit a TF model to some data, and I need the poles and zeros to be in the left-half plane. My better fits seem to ...

9 years ago | 1 answer | 0

1

answer

Question


How to get a readable report from the Comparison Tool?
I am trying to export my report from the comparison tool into a format that is more readable. I see where I can save as HTML, b...

9 years ago | 0 answers | 1

0

answers

Question


Using "kalman" with a Zero B matrix
I am trying to use the "kalman" command to compute the steady-state gains for a Kalman filter in a signal tracking problem. The...

10 years ago | 1 answer | 0

1

answer

Question


"Execute At Initialization" Stateflow check
I have a Stateflow diagram where I need to initialize a few variables when the chart at the start. I am getting a warning about...

11 years ago | 1 answer | 0

1

answer

Question


Creating multiple time entities from a single SimEvents entity generator
I am trying to build a CAN bus simulation with multiple messages. The message list may change in size depending on the program....

11 years ago | 1 answer | 0

1

answer

Question


Path radius from lat/long data
I am working on computing the approximate radius of curvature of a road. I have lat/long coordinates for points along the path,...

11 years ago | 4 answers | 0

4

answers

Question


Calling a DLL created from Simulink Coder
I have created a Win32 DLL from a Simulink diagram using Simulink Coder and the template ert_shrlib.tlc. I need to specify to a...

12 years ago | 1 answer | 0

1

answer

Question


Creating a Windows DLL from a Simulink Diagram
I need to create a library that other applications can call from a Simulink diagram. I'm assuming I can use "grt.tlc" to create...

12 years ago | 1 answer | 0

1

answer

Question


Accessing inputs to a masked block from the mask initialization
I'm trying to get value of an input to a masked block to use in the mask itself. Basically, I want to do a "find" on the input ...

12 years ago | 1 answer | 0

1

answer

Answered
Easy bit reversal
I frown upon looping in Matlab, but this worked for me: for i = 1:WordLength h = bitshift(h,1) + bitand(x,1); ...

12 years ago | 0

Answered
Easy bit reversal
Nice guys. thanks.

12 years ago | 0

Question


Easy bit reversal
I need a function to reverse the bits of an int. I see I can flip bytes around, but that doesn't reverse the bit order. Any ea...

12 years ago | 3 answers | 0

3

answers

Question


Calculating the number of pixels between objects in an image
I'm working on estimating the distance between 2 lines in an image. I need to know how to determine the number of pixels betwee...

12 years ago | 1 answer | 0

1

answer

Question


Plugging in USB cameras with Image Acquisition Toolbox
I am running a Simulink diagram where I occasionally have 2 cameras acquiring images. If I plug in the 2nd camera after I start...

12 years ago | 1 answer | 0

1

answer

Question


S-function Builder keeps losing entries
I used the S-Function Builder block to create an S-function. When I changed paths in the Matlab Workspace, I lost the entries i...

12 years ago | 0 answers | 0

0

answers

Question


CMEX S-function vs. Model blocks: delay in execution?
I am running a Simulink model and an S-Function of that model in parallel. The S-function was generated for real-time using RTW...

12 years ago | 0 answers | 0

0

answers

Question


Stateflow chart without states
I have seen examples before of using a state chart without states to implement logical expressions. I tried doing this recently...

12 years ago | 2 answers | 0

2

answers

Load more