photo

Nick Choi

Last seen: 1 jour il y a Actif depuis 2017

Followers: 1   Following: 0

Statistiques

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

Afficher les badges

Feeds

Afficher par

A résolu


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

environ 2 ans il y a

A résolu


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

presque 4 ans il y a

Réponse apportée
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...

presque 7 ans il y a | 2

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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 ...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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 ...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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:...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

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

presque 7 ans il y a | 1

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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 ...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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 ...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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 ...

presque 7 ans il y a | 0

Réponse apportée
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 ...

presque 7 ans il y a | 1

Charger plus