Community Profile

photo

John F


Magna Electronics

35 total contributions since 2011

Contact

John F's Badges

  • Thankful Level 2
  • Solver

View details...

Contributions in
View by

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

oltre un anno 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...

circa 2 anni 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 ...

oltre 2 anni 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...

circa 3 anni ago | 1 answer | 0

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

circa 3 anni 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...

circa 3 anni 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:...

circa 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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,...

circa 4 anni 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,...

circa 4 anni 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 ...

circa 5 anni 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...

circa 5 anni 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...

oltre 5 anni 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...

oltre 6 anni 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....

circa 7 anni 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,...

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

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

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

oltre 7 anni 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); ...

oltre 7 anni ago | 0

Answered
Easy bit reversal
Nice guys. thanks.

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

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

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

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

circa 8 anni 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...

circa 8 anni 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...

circa 8 anni ago | 2 answers | 0

2

answers

Question


Suppressing command output
I am using the function "system(<SOME COMMAND>)" in a function. The command I'm calling has a lot of screen outputs that I'd li...

circa 8 anni ago | 1 answer | 0

1

answer

Answered
Radio button and button group in GUIDE
I found out that you have to right click on the button group and select the specific function from "view callbacks". Not automa...

circa 8 anni ago | 1

| accepted

Load more