photo

stozaki

Active since 2019

Followers: 0   Following: 0

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

Programming Languages:
MATLAB
Spoken Languages:
Japanese

Statistics

All
  • Treasure Hunt Participant
  • 6 Month Streak
  • MATLAB Central Treasure Hunt Finisher
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 4
  • Speed Demon
  • Creator
  • First Review
  • Revival Level 3
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
Simulinkでデータ型の異なるConstantブロックをバス配列とする方法
constantブロックからバス信号を生成し、MATLAB Functionに入力し、簡単な計算結果を出力するサンプルモデルを作成しました。.matファイルをロードしてから.slxを実行してください 以下のURLに詳しい説明がありますが、バスオブジェ...

1 year ago | 0

Answered
Add multiple libraries together as an overall library in the Simulink Browser
The following page describes how to register sublibraries. I created a dummy sublibrary and attached it here. Add Libraries to ...

2 years ago | 1

Answered
How can I solve dimension problem? Simulink
The Logical operands input of the If block must be a scalar signal. It's a block specification. Also, the output of the If bloc...

2 years ago | 0

| accepted

Answered
At high frequency repeating sequence block output is not as intended
I was able to generate a sawtooth waveform using the "Repeating sequence block". Check the solver type and fixed step values fo...

2 years ago | 0

Answered
why mux block is available in Matlab because same work we can do in bus block. bus block accept same & different datatypes but mux only accept same datatypes.
As its specification, the Mux block combines scalar or vector signals of the same data type into a vector signal. Please read t...

2 years ago | 0

| accepted

Answered
Simulink File Comparison Custom Filters
You can get the diff of the model by using the visdiff function. At that time, you can exclude Model Info from the difference r...

2 years ago | 0

Answered
ROS Simulink algebraic loop
see Dependencies section. Single output/update function

2 years ago | 1

Answered
how to create simulink in matlab 2019b?
In R2016a and later versions, launch the Simulink start page before creating the model file. Build and Edit a Model Interactive...

2 years ago | 0

Answered
blocks simulink for synchronous machine
It is Bistable.

2 years ago | 0

| accepted

Answered
Search for a parameter in a mask programatically
Try the following command: ret = find_system (bdroot (gcs),'BlockType','SubSystem','MaskValueString','sensif_p_IMU_lat_sign') ...

2 years ago | 1

| accepted

Answered
Simulink Transport Delay Block parameters error
Ogawaさま こんにちは。問題解決されたでしょうか? Simulink起動プログラムとおっしゃられているのは、PreLoadFcnのことでしょうか? 各々のパラメータ値が定義されていないからではないでしょうか? PreLoadFcnに関す...

3 years ago | 0

Answered
How to obtain a Matrix as output from a 3-D LookUpTables?
Hi, How about using the reshape block to convert 1x784 to 28x28? reshape

3 years ago | 0

| accepted

Answered
Bug: Unable to set PI initial condition data type by value
Hi, This warning is normal behavior. Not a bug. This is because the configuration parameter "UnderSpecifiedDataTypeMsg" is s...

3 years ago | 0

Answered
Is rsqrt the same as Fast inverse square root?
Hi, The Simulink sqrt block supports rsqrt. The algorithm is Newton-Raphson, so it can be considered the same as the one des...

3 years ago | 0

| accepted

Answered
Find average of an array for values > 0
Hi, What about the following processing? data = [1 2 10 -38 -7 2 8 10 -5 1 0 -5 37]; % example data idx = find(data > 0);...

3 years ago | 0

Answered
How to refresh selected model block via command line? (not the Ctrl+K function)
Hello, You can update the model block by using the following function. Simulink.ModelReference.refresh Simulink.ModelRefe...

3 years ago | 1

Answered
Fixed point to floating-point conversion with Fixed-Point Tool
The Fixed-point tool is used to convert from floating point to fixed point. Therefore, you do not need to use the Fixed-point to...

3 years ago | 0

Answered
How do I search a Simulink model for a string in all element properties?
Hi, Are you effective the following command? s = 'SearchString'; sys = gcs; ret = unique(find_system(sys,'BlockDialogParams'...

3 years ago | 0

| accepted

Answered
How can I make a JK Flip-Flop with clear and preset?
Hello, J-K Flip Flop is included in Simulink Extras. You can use it. J-K Flip-Flop

3 years ago | 0

| accepted

Answered
Stateflowの状態遷移表のGUI以外の操作方法
大貫様 Statelofo APIを使うことで、Stateflowエディタ(GUI上のマウス操作)を使わずに、Stateflow状態遷移図を記述することはできます。 ただし、通常マウスで操作しているので気にならないステートや遷移線の配置ですが、St...

3 years ago | 2

| accepted

Answered
cell配列内のサイズを求めたいです.
池田様 こんにちは。配列のサイズを求めるには、size関数が使えると思います。 ただし、今回は1x1のcellに5x1の配列を入れているので、次のようになると思います。 A={[1;2;3;4;5]} s = size(cell2mat(A),1)...

3 years ago | 0

Answered
How to determine source block of an input port in Simulink?
Hi, 1. Get the port handle of the target block. (in this example, MATLAB Funciton) 2. Get the line handle of the connected s...

3 years ago | 1

Answered
How to make a={'1','2','3','4'} to b={'1234'}
Hi, a = {'1','2','3','4'}; b = cellstr(replace(strjoin(a),' ','')) cellstr replace strjoin

3 years ago | 1

Answered
Turn of slider switch automatically
Hi, The Slider Switch button does not automatically switch ON / OFF. A user switches ON / OFF with a mouse click. Therefore,...

3 years ago | 0

Answered
How to compare a value over time in Simulink
Hi Trevor, The processing you want to perform is not in the Simulink standard block. So I modeled the function you want to dete...

3 years ago | 1

| accepted

Answered
Modify the storage class in the data dictionary programmatically
Editing a storage class is editing the properties of a Simulink Signa Object. To do this, edit the Simulink Signal Object progr...

3 years ago | 1

| accepted

Answered
change fixed point number signedness
Hi scc28x, >> b1 = fi(3,1,3,0) b1 = 3 DataTypeMode: Fixed-point: binary point scaling Signedn...

3 years ago | 0

Answered
function block with changeable input
Hi haluk zorluoglu, We cannot increase the number of ports in the function block. However, we can vectorize the input and enter...

3 years ago | 0

Answered
Enable Access to Base Workspace - Matlab 2016a
In R2016a, the base workspace and Simulink Data Dictionary are only available exclusively. This is a functional specification o...

3 years ago | 1

| accepted

Answered
fcnブロックの場所について
小杉様 こちらのブロックはR2020bから削除されております。リリースノートに記載がございます。 今後はMATLAB Functionブロック内部で数式記述を行っていただくか、Simulinkの標準ブロックを組み合わせてモデリングを行ってください。...

3 years ago | 1

Load more