photo

Andy


Last seen: etwa ein Monat vor Aktiv seit 2017

Followers: 0   Following: 0

Nachricht

Statistik

All
  • First Review
  • First Submission
  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


MATLABEngine.ConnectMATLAB() executed twice: first time it works, subsequent times - won't work, until you restart the program
Setup is windows 11 x64, latest updates, latest Visual Studio Community Edition, etc. Below behavior reflects in .NET Help Cent...

etwa ein Monat vor | 1 Antwort | 0

1

Antwort

Frage


MATLAB Function to .NET Application Using MATLAB Data API for .NET with complex data structures (OrderedDictionary<DateTime, double[]> <=> timetables)
How would the below example: https://uk.mathworks.com/help/compiler_sdk/dotnet/deploy-mlcode-in-dotnetapp-using-ml-data-api-for...

etwa 2 Monate vor | 1 Antwort | 0

1

Antwort

Frage


System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B), Source=MathWorks.MATLAB.Types
Reproduce: Within a Visual Studio Windows Console app, add references to: C:\Program Files\MATLAB\R2024b\extern\dotnet\netstan...

etwa 2 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
backtestStrategy: rebalance function keeps track of past & current open position
best way to do that currently is to use the engineDataList and within the rebalancing function, compute: positions = engineData...

7 Monate vor | 0

| akzeptiert

Frage


COM - Feval() passing a table as a Double[,] is as expected, nonetheless c# Dictionary.ToArray() returns a Double[][] (what is called a jagged array)
What would a best practice be in passing a Dictionary like structure into a matlab function such as "cov" using COM's Feval() .....

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


COM: matlabObj.Feval() - works for calling one function, how would it work for calling a nested set of functions?
Take this c# / .NET example of calling a Feval on "cov" for variable t2, which works great: > t2.GetType() [System.Double[,]] ...

7 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
Invalid Callee when using Matlab as a COM server
Yeah, interesting @Janis Stolzenwald! Stumbled across the same problem ... thanks for sharing your solution 7 years later! Did ...

7 Monate vor | 0

Frage


backtestEngine / runBacktest speed of execution / parallelisation
Hi Experts, Do we know whether runBacktest (part of backtestEngine) does any parallel execution ... on timatables having daily ...

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


timerange subscript within a timetable
End goal: timeTableTT14to22 = timeTableTT(hours(14) <= timeofday(timeTableTT.Date) & timeofday(timeTableTT.Date) <= hours(22), ...

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


using a MATLABEngine obj to dynamically construct a timetable with dates "yyyy-MM-dd" as keys and multiple double value columns
Hi Experts, 1) Looking for a best practice/way to dynamically build a timetable (through a for loop that would add multiple lin...

8 Monate vor | 1 Antwort | 0

1

Antwort

Frage


NuGet - mathworks.prodserver.dotnetclient library
Hi All, Curious to understand if any of you are using: https://www.nuget.org/packages/mathworks.prodserver.dotnetclient/2023....

8 Monate vor | 1 Antwort | 0

1

Antwort

Frage


backtestStrategy: rebalance function keeps track of past & current open position
Hi All, backtestStrategy provides a great workflow for defining a strategy, which includes the rebalancing function. As part ...

8 Monate vor | 2 Antworten | 0

2

Antworten

Frage


call Matlab code from c# / .NET threads: multi-thread scalability: is MathWorks.MATLAB.Engine best option?
Hi Experts, Typically NET & Matlab synergies is a common topic of interest. Having said that, just simply calling a function h...

9 Monate vor | 1 Antwort | 0

1

Antwort

Frage


excel-like formula column
matrix of two columns representing in the morning and in the day. can we have a 3rd column that would compute the average of f...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Index a Y = MxN, with X=Mx5 (where elements in X are column IDs for values to extract from Y)
Having a Y = MxN matrix of data, and a X = Mx5 (or other fixed nr. < than N) matrix obtained as: [~, X] = maxk(Z,5,2); % where ...

12 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
riskfolio-lib / PyPortfolioOpt like functionality
thanks @Steven Lord! Let's get deeper into it then: Riskfolio-lib: https://riskfolio-lib.readthedocs.io/en/latest/index.html ...

mehr als ein Jahr vor | 0

Frage


riskfolio-lib / PyPortfolioOpt like functionality
Hi All, Is there any functionality equivalent to python's riskfolio-lib/PyPortfolioOpt libraries, or what's the closest? than...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


work with dxFeed data feed?
It would be great if someone presents an example of working with dxFeed datafeed.

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


rowfun (or other function?) to access multiple rows in a table (as in current + previous 5 rows)
Following the excel typical example, where a new column can be a formula accessing current row + values in row(s) above / below ...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Error in ibtws connecting (Trading Toolbox)
Guys, one question ... Why do you still have Interactive Brokers as a supported broker and data source in the DOCs ... if it ...

mehr als 4 Jahre vor | 0

Beantwortet
How to fix a simple callback function with a tcpip object?
Should we specify a function: function dispcallback(obj,event) callbackTime = datestr(datenum(event.Data.AbsTime)); f...

mehr als 4 Jahre vor | 0

Frage


can a struct function access struct elements ?
myStruct.va1 = 1 myStruct.val2 = 2 myStruct.mySum = @(x,y) x + y nonetheless, x & y are specific inputs into the function. ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


dynamic java path vs static java path
So, docs say one can add file javaclasspath.txt under the 'prefdir' folder, and its contents are loaded statically upon Matlab's...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


declare global var by string name
within a function: function DoSomeWork(globalVarName, var2, var3, etc) global globalvarName ??? // so something with gl...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


converting a table (having as first col a datetime col) col into a datetime (having both date & time in its composition)
Oftentimes a datetable has 2 adjacent columns: a datetime with a date and a string with a time. If one wants to concatenate the...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


state machine programming - helper tools
Hi, Are there any predefined classes/objects/functions/docs to make state machines in matlab easier to develop? thanks

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Field List of IQFeed Realtime Data
Matlab doesn't have a robust IQFeed library ... multiple cases opened, with a couple of conclusions: 1) IQFeed might sporadic...

mehr als 5 Jahre vor | 0

Frage


programming generic state machines (that would handle a custom data science App): regular .m code vs Simulink / Stateflow?
Usually, one would use Simulink/Stateflow for HDL/Bio/Automotive/Embedded-FPGA/C++/etc. scope ... which a highly focused applic...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


can I increase maximum possible array used memory?
I get: >> memory Maximum possible array: 6209 MB (6.510e+09 bytes) * Memory available for all arrays: 6...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
nchoosek with range of k values and ordered sequential value sets
A modified version of an nchoosek sub-function might do the trick: function P = combsCont(v,m) %COMBS All possible comb...

mehr als 6 Jahre vor | 0

| akzeptiert

Mehr laden