Community Profile

photo

Nick Choi

Last seen: 5 Tage vor Aktiv seit 2017

Statistiken

All
  • Knowledgeable Level 3
  • Solver
  • First Review
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mehr als ein Jahr vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

mehr als 3 Jahre vor

Beantwortet
Rapid Accelerator Mode fatal error C1128
You can add '/bigobj' to the compiler options in the 'Code Generation' pane of the 'Configuration Parameters' in Simulink to a...

etwa 6 Jahre vor | 2

| akzeptiert

Beantwortet
PWM generation - triangle carrier problem
It is tough to say without a reproduction model but this could be due to differing sample times between the two signals going in...

etwa 6 Jahre vor | 0

Beantwortet
generating square wave to control a motor without using simulink
The 'writePWMDutyCycle' function in the MATLAB Support Package for Arduino would allow you to control the duty cycle/pulse width...

etwa 6 Jahre vor | 0

Beantwortet
change the modulation in commrfsatlink
The following section of the example page provides information on how some of the model's parameters can impact the performance ...

etwa 6 Jahre vor | 0

Beantwortet
using a table in a "from workspace block" in simulink
If the data is loaded into MATLAB as a table, you could import the signal data using a 'From Workspace' block on the column or r...

mehr als 6 Jahre vor | 0

Beantwortet
Update a fixed dimension vector Simulink
A block that may be helpful for this could be the 'Assignment' block: <https://www.mathworks.com/help/simulink/slref/assignme...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
I have no idea how to do this simulink, please help
Figure 1 shows you what the model should look like so you essentially just need to reconstruct that model in Simulink. This ...

mehr als 6 Jahre vor | 0

Beantwortet
What is the computation Power of Matlab Online?
The following documentation pages should help give you a better idea of what tasks can be performed using MATLAB Online. Thi...

mehr als 6 Jahre vor | 0

Beantwortet
Simulink Real Time/Simulink Test using National Instruments RT hardware?
Simulink Test allows you to develop and execute simulation-based tests for your Simulink models and these tests can be run with ...

mehr als 6 Jahre vor | 0

Beantwortet
Use of soundcard in Simulink!
The 'Audio Device Reader' block in the Audio System Toolbox would allow you to read audio from your computer's sound card. The f...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
How do i create a simplified version of a continuous time unit step function?
The following example shows how to create a variety of signals such as the unit impulse, unit step and unit ramp signals: <ht...

mehr als 6 Jahre vor | 0

Beantwortet
How to input a signal to a Simulink Function within a Stateflow Chart?
Based off of the error message, it seems as though the function call block is set to have a sample time of zero. Since the input...

mehr als 6 Jahre vor | 0

Beantwortet
Implementing neural network functions on HDL
The following documentation page provides a list of the MATLAB functions that are supported for HDL code generation: <https:...

mehr als 6 Jahre vor | 1

| akzeptiert

Beantwortet
Activate a pulse generator from an if block
You could use a 'Compare to Constant' block to compare the signal/variable against the specified value and this could be used to...

mehr als 6 Jahre vor | 0

Beantwortet
Difficulty using the CWT function
It seems as though the error messages are being generated because the new and old versions of the 'cwt' function are being calle...

mehr als 6 Jahre vor | 0

Beantwortet
How can I find Model-Based Calibration Toolbox in MATLAB 2017b?
Is 'Model-Based Calibration Toolbox' displayed when you execute the following command? >> ver If it is not displayed by...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
Missing simscape power systems
Is 'Simscape Power Systems' displayed when you execute the following command? >> ver If it is not displayed by the 'ver...

mehr als 6 Jahre vor | 1

Beantwortet
Simulink name logged runs
You can name a run with a string to facilitate data inspection by utilizing a function call similar to this one: Simulink.s...

mehr als 6 Jahre vor | 0

Beantwortet
How to model a slack(swing) bus in simuilink model?
The 'Load Flow Bus' block can be used to specify the parameters of a swing bus: <https://www.mathworks.com/help/physmod/sps/pow...

mehr als 6 Jahre vor | 0

Beantwortet
How to solve "No rule to make target `rtiostream_utils.c' " error while building model in Simulink?
Without a reproduction model or screenshots of the entire error, it is somewhat difficult to determine a potential root cause. H...

mehr als 6 Jahre vor | 0

Beantwortet
How can I pass a Figure Handle to Matlab code embedded in Simulink, and capture that plot as an Image in the loop?
If you are planning to generate code from the Simulink model, you will not be able to use the 'plot' function because it is not ...

mehr als 6 Jahre vor | 0

Beantwortet
R2017b Visual Studio 2017 can't link model files when compiling simulink
This issue seems like it may be related to the following external bug report: <https://www.mathworks.com/support/bugreports/1...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
Understanding usrpe3xxToneReceiverML.m example
In the 'Transmit a Tone Signal from the FPGA' section of the example, there is a line that says "Note that the simultaneous tran...

mehr als 6 Jahre vor | 0

Beantwortet
I have successfully generated the code from the matlab, but I don't kown how to use these codes in the embedded equipment.
When you generate C/C++ code through MATLAB Coder, you can specify the target platform for the code and you can configure it to ...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
put coodinate in image map
The following documentation page provides an example of how to display topographic data in MATLAB: <https://www.mathworks.com/h...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
How can I force a Custom Storage class for a parameter inside StateFlow?
If you are looking for how to use custom storage classes or custom data types in Simulink, the following documentation link prov...

mehr als 6 Jahre vor | 0

Beantwortet
Hou to make a simulink lookup table model for different break point?
Simulink comes with several shipped lookup table blocks. The following documentation page contains a list of the various lookup ...

mehr als 6 Jahre vor | 0

Beantwortet
How can explain the relation between mdlDerivatives output and mdlOutputs in S-function simulink
As described in this documentation link, 'mdlDerivatives' is an optional method that can be used to compute the derivatives for ...

mehr als 6 Jahre vor | 1

Mehr laden