Community Profile

photo

Dave


Last seen: 2 dagar ago Active since 2013

Statistics

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

View badges

Content Feed

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

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

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

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

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

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

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

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

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

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

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

nästan 6 år 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'])...

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

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

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

mer än 10 år ago | 1 answer | 0

1

answer