photo

Dave


Last seen: 5 days ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
  • MATLAB Mini Hack 2022 Participant
  • Explorer
  • First Review
  • Revival Level 1
  • Solver
  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 1

View badges

Feeds

View by

Answered
FAQ: How do I install the MinGW compiler?
How do I remove MinGW? I added it with the Add-Ons installer, removed it with the Add-Ons installer but it persists in the comp...

11 months ago | 0

Solved


Partial Pressure of Water Vapor from Relative Humidity
Buck (1996, 1981) published the following constants for the saturation pressure of water*: 6.1121 (mb) The saturation pressur...

1 year ago

Answered
How to Stop Simulation in Test Sequence Block
This should work when not using accellerated mode: coder.extrinsic("set_param"); set_param(bdroot, 'simulationcommand', 'stop'...

3 years ago | 2

Answered
Generate HDL error: Reference to non-existent field 'hasVariantError'.
As a follow-up I cleared out the mex files, deleted the SLPRJ folder & work folder from the project and the HDL is now being gen...

3 years ago | 0

| accepted

Question


Generate HDL error: Reference to non-existent field 'hasVariantError'.
When generating HDL or performing a "Run Compatibility Checker" the operation fails with the error Reference to non-existent f...

3 years ago | 2 answers | 0

2

answers

Answered
Programmatically capturing screenshots of Simulink blocks and dialogs
Simulink has this built in: % Open a model f14 % Choose name of model to be screenshot ModelName = 'f14' % Save the s...

5 years ago | 0

Answered
Is there an option to recursively add directories to the path without using GENPATH?
This script on file exchange: <https://uk.mathworks.com/matlabcentral/fileexchange/21086-recursive-addpath will recursivly add...

5 years ago | 0

Answered
Simulink HDL coder Shift register SIPO
The attached is a simulink testbench for the configurable SIPO shift register. function [update_out, po] = SIPO(update_in, ...

6 years ago | 0

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 years ago

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

6 years ago

Solved


Let's get back to school: create mixed numbered fraction
A fractional number can be represented as mixed number. A "mixed number" consists of an integer followed by a proper fraction...

6 years ago

Answered
diary, how to create a new one
Automatic date and time append: diary(['diary_',datestr(now,'dd-mm-yy','local'),'_',datestr(now,'hh-MM-ss','local'),'.txt'])...

6 years ago | 1

Answered
Creating a diary that is not appended to an existing one.
To have the diary name with the date and time when starting use this command: diary(['gd_diary_',datestr(now,'dd-mm-yy','loc...

6 years ago | 0

| accepted

Answered
shift register SIPO Simulink
in the matlab window type: open_system('eml_hdl_design_patterns') and then double click on the third box labeled "Shift ...

6 years ago | 0

| accepted

Question


Format longeng - rounding error
Hello All, When using "format longeng", I am getting strange results to basic maths but when using "format short" the correc...

10 years ago | 1 answer | 0

1

answer