Questions tagged [julia-studio]

Julia Studio was an IDE for old versions of the Julia programming language

Julia Studio is an abandoned and for the programming language and is based on . Its last release was in 2014.

Julia Studio resources:

25 questions
95
votes
7 answers

Running Julia .jl files

I'm new to julia and just finished my first program. I wrote the code in julia-studio and have been testing it within that program. It gives me all of the correct output, but the shell separates the output as if it is two different executions. I'm…
user1748681
  • 1,127
  • 1
  • 8
  • 9
25
votes
4 answers

Julia: How to clear console

I am using Julia Studio and would like to know the command for clearing the console of text and memory like imports or variables? Something like matlabs "clc" and "clear" commands.
Just_Alex
  • 518
  • 1
  • 4
  • 16
9
votes
1 answer

Julia version in Julia Studio

(a) I have Julia Studio 0.4.3 and the settings for libraries in my installation (Windows) point to C:/Program Files (x86)/JuliaStudio-0.4.3/julia-studio/Julia. Within that directory, I found julia-basic.exe, julia-debug.exe, julia-debug-readline.exe…
uday
  • 6,453
  • 13
  • 56
  • 94
6
votes
2 answers

How to use packages in Julia Studio

I can't get the package system to work in Julia Studio. For example if I want to plot a simple graph I've tried double clicking the Winston package which seems to install from the Git repo, then: using Winston plot([1 2 3],[3 2 6]) But I get the…
Dave_L
  • 363
  • 2
  • 10
4
votes
1 answer

Dimension mismatch in Julia

I created a matrix A, which is 300x4 array. And in the objective, i should minimize A*x, where x is a 1x4 vector. and my code is the following: k = 3 m = length(u) n = k + 1 A = zeros(m,k+1) for i = 1:m for j = 1:k+1 A[i,j] =…
3
votes
2 answers

Pointing Julia Studio at a different binary

I'm on mac. As far as I know, even though Julia 0.3 is now officially released, Julia Studio still comes prepackaged with Julia 0.2. So I went to the package contents of Julia 0.3 and pointed the path in Julia Studio at the julia folder for Julia…
Set
  • 934
  • 6
  • 25
2
votes
1 answer

How can I use universal and existential quantification in julia?

I want to code domination definition in Julia. x dom y. x , y are 2 vectors. b=all(x<=y) && any(x
Soma
  • 743
  • 6
  • 19
2
votes
1 answer

Is there any function such as repmat for struct in julia?

would you please help me. I want to produce a population of struct in Julia.In matalab,we can use repmat for a structure. but in Julia it is impossible. is there any function like repmat in Julia? for example: npop=20; struct individual …
Soma
  • 743
  • 6
  • 19
2
votes
1 answer

Julia from Mac terminal vs Julia Studio

I'm trying to run some basic Julia scripts (loading data and manipulating it) from the command line (using a MAC terminal) that I had previously written and successfully compiled with Julia Studio. I KNOW they work (I have re-run them countless…
Chase CB
  • 1,561
  • 1
  • 13
  • 20
1
vote
1 answer

How to use @constraintref correctly? In Julia Language

guys,I wrote the code and got the following error: @constraint is not defined. What did I wrong. How to fix it? Thanks @constraintref restrição[1:2] for j=1:2 @constraint(m, restrição[j], sum(A[j,i]*x[i] for i=1:3) <= b[j])` end ```
1
vote
2 answers

Compare 2 dataframe cell by cell using Julia

Using Julia, is there a way to compare 2 DataFrames cell by cell and output difference E.g.: expected result would produce dataframe with True/False Thanks in advance for help
1
vote
1 answer

I want to run small Julia code/modules in python. How should I do that?

I have created a jl file having the following content: for i in 1:10 println(i) end 1+2 When I am calling that jl file in python using the following code: import julia from julia.api import Julia j = julia.Julia(compiled_modules=False) x…
1
vote
1 answer

How is it possible to have a function of a variable in julia?

if you don't mind, would you please help me that how can I have a function of x as follow: this function calculate two values for x function MOP2(x) n=length(x); z1=1-exp(sum((x-1/sqrt(n)).^2)); z2=1-exp(sum((x+1/sqrt(n)).^2)); …
Soma
  • 743
  • 6
  • 19
1
vote
1 answer

Julia-Studio:plot() not working even after adding Winston library

I just installed Julia-Studio 0.4.4 on windows 7. And added the package Winston to try out plotting. So I did as below and got "FramedPlot(...)" output, no graphical figure. using Winston x=randn(1,1000); plot(x) FramedPlot(...) What should I do…
dexterdev
  • 537
  • 4
  • 22
1
vote
1 answer

Adding type declarations somehow slows down Julia algorithm signicifally

I have written a very basic algorithm in Julia Studio (Julia 0.2.0, OSX 10.8.2) that calculates the average mana left on each turn for a given mana curve in Hearthstone. When done with the algorithm I added type declarations to all the variables,…
haspaker
  • 33
  • 4
1
2