MATLAB Answers

runpf error - Unrecognized function or variable 'runpf'.

9 views (last 30 days)
When I runpf I get Unrecognized function or variable 'runpf'.
>> case5
ans =
struct with fields:
version: '2'
baseMVA: 100
bus: [5×13 double]
gen: [5×21 double]
branch: [6×13 double]
gencost: [5×6 double]
>> result = runpf('case5')
Unrecognized function or variable 'runpf'.
Did you mean:
>> result = run('case5')

Accepted Answer

Monisha Nalluru
Monisha Nalluru on 22 Apr 2021
From my understanding there is no built function in MATLAB called runpf.
There is function called runperf which runs set of tests and measure the performance.
If runpf is a user defined function, when you can calling the function make sure the function is either in MATLAB path or defined in current directory.
Use path function to add path to MATLAB search directory.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!